I have a simple test html form at
http://www.radiosport.ca/test/test.htmlIt use the POST method to send a name to a php script that prints the input data in the $_POST array and from the raw input data
$data = $_POST['name'];
print "\$_POST: $data";
$data = file_get_contents("php://input");
print "Raw Input: $data";
?>
And I have a test pdf form that uses a HTTP Submit button - it also calls the php script
http://www.radiosport.ca/test/test.pdfUsing 'Robert' as the test name the output from the test html form is
$_POST: Robert
Raw Input: name=Robert
The Output from the test pdf form is
$_POST:
Raw Input: %00f%00o%00r%00m%001%00%5b%000%00%5d%00.%00%23%00s%00u%00b%00f%00o%00r%00m%00%5b%000%00%5d%00.%00n%00a%00m%00e%00%5b%000%00%5d=%00R%00o%00b%00e%00r%00t
I thought the Adobe Form was suppose to send standard URL-encoded data using the POST method the same as the html form.
Where have I made my mistake?
Can someone point me to a PHP script that processes a pdf form?