Hi Developoers, I'm asking this here because I've run out of help in php-general (see "POST superglobal is not set" for history if interested).
I have php-5.0.0 compiled as cgi on redhat linux 7.2 running apache 1.3.22. When I send html form post to php script, $_POST is empty and $_REQUEST is empty. I tested apache cgi using (ftp://ftp.ncsa.uiuc.edu/Web/httpd/Unix/ncsa_httpd/cgi/cgi-src/post-query.c) and apache is passing post data on stdin correctly. I tested the php binary using ksh scripts (export environment variables and pipe data on stdin) and it populates $_POST properly. All permissions on php install tree appear ok and I can find no significant differences between apache cgi environment and my local user environment. How can I verify (to be absolutely sure) that php is receiving post data on stdin? If the above test succeeds, any ideas how to track down what is breaking? (I'm not beyond hacking c code, just need some pointers to the relevant files). And perhaps knowledge of the data path POST data goes through when php runs as cgi. -- Andy -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php