Submit to PHP
A common request in the comments on the HTTP Submit post is how to retrieve the values from PHP, so I've created a simple sample just to demonstrate that clearly.
This sample has a couple of text fields which, when submitted using either of the buttons on the form, echoes the text back to you by the PHP code on the server. The server code is also included in the form.
Comments
Did you intend that the last word of the tutorial be 'whose'?
It looks like a line has dropped off.
Posted by: Don McCahill | June 6, 2006 09:05 AM
Thanks Don - I updated the form so it's not cut off.
Posted by: Steve Tibbett | June 6, 2006 09:49 AM
This isn't working for me, and I'm very good with PHP. The variables just don't transmit. I did a 'var_dump' in PHP of the $_POST header and the only thing the PDF sends is an empty array labelled 'form1' and the actual repsonse from PHP looks like: array(1) { ["form1"]=> array(1) { [0]=> string(0) "" } }
Can you please let me know how to fix this? I'm using Adober Designer 7.0 and it's just never sending any of the variables no matter how many text field I put on the form. and the Submit button is setup properly since if I choose 'XML' or one of the other options PHP returns an empty array. So why is the PDF sending 'form1' but no variables??
Posted by: Mark W | August 4, 2006 02:34 PM