|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-11-27 17:24 UTC] tony2001@php.net
[2006-11-27 17:30 UTC] security at isnnetworks dot net
[2006-11-27 17:42 UTC] tony2001@php.net
[2006-11-27 17:44 UTC] security at isnnetworks dot net
[2006-11-27 17:50 UTC] tony2001@php.net
[2006-11-27 18:06 UTC] security at isnnetworks dot net
[2006-11-27 18:13 UTC] tony2001@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Nov 17 00:00:01 2025 UTC |
Description: ------------ Using php 5.2.0 and php 4.4.4 as a cgi module results in no $_POST data being given. The headers are being sent just php is returning nothing. There is nothing in the error logs, nothing when setting E_ALL for error_reporting. The DSO version works fine, this is a second installation compiled with. ./configure --prefix=/usr/local/php5 --exec-prefix=/usr/local/php5 --program-suffix=5 --enable-force-cgi-redirect Using --enable-debug doesn't return anything either. Loaded into apache using, Action application/x-httpd-php5 "/php/php5" AddType application/x-httpd-php5 .php5 Where /php is a script-alias , does not work using --disgard-path either. I am not sure where to even start to see where the problem is, I have tried everything. Recompiling with no options other than the prefix etc, with debugging, changing the form enctype and still nothing. Reproduce code: --------------- <html> <head> </head> <body> <form action="test.php" method="post" enctype="multipart/form-data"> <input type="input" name="test" value=""><br /> <input name="submit" type="submit"></form> <pre> <?php ini_set('error_reporting', E_ALL); print_r(get_defined_vars()); print_r($_POST); print_r($_REQUEST); print_r($_GET); ?> </pre> </body> </html> Expected result: ---------------- To see the data posted Actual result: -------------- No data in $POST