ID:               39647
 Updated by:       [EMAIL PROTECTED]
 Reported By:      security at isnnetworks dot net
-Status:           Open
+Status:           Feedback
-Bug Type:         *General Issues
+Bug Type:         CGI related
 Operating System: Linux, Centos 4.4
 PHP Version:      5.2.0
 New Comment:

Please make sure that PHP actually receives the data and post all parts
of your httpd.conf related to CGI configuration.
Also please upload your phpinfo() somewhere and post the link here.


Previous Comments:
------------------------------------------------------------------------

[2006-11-27 16:59:18] security at isnnetworks dot net

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


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=39647&edit=1

Reply via email to