PHP 4.3/Apache 2.0.44/PDFLIB Problem with POST vs. Get
Posted 14 March 2003 - 09:52 PM
I even tried using the superglobal to access the POST vars but this didn\'t work. The rest of the script saw the variables fine (verified with DIE($variable) However, none of the variables send via POST were accessible within the PDF page. Trust me, I tried everything and nothing worked until I changed the method to GET then everything worked fine.
What the heck could be the problem. I don\'t need to use POST here, but down the road I may need to on some other script.
Please do not send any newbie responses.
Posted 15 March 2003 - 03:00 AM
- crank up your php error reporting to see if gives you an error when you use POST
- check apache\'s error_log for anything regarding POST
- try $_POST[\'var_name\'] and $HTTP_POST_VARS[\'var_name\']
- were these compiled or pre-packaged?
Posted 15 March 2003 - 02:45 PM
The weird thing is that any new variable that is dependent upon the POST variable will not work either although my IF conditional statements work fine based on the POST variable.
I did use the Superglobals as stated earlier (i.e. _POST and HTTP_POST_VARS) didn\'t change a thing.
Why would this only cause a problem withing the PDF functions and only when using APACHE 2.0
I have review my conf file but didn\'t see anything. Any suggestions on where to look?
All programs were precompiled Win32 binaries.
Posted 15 March 2003 - 03:42 PM
Posted 17 March 2003 - 05:48 PM
Thanks for this article - after hours of searching (and giving up all hope) - I got it.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users