From: [EMAIL PROTECTED]
Operating system: Linux 2.2.19
PHP version: 4.0CVS-2002-04-11
PHP Bug Type: *General Issues
Bug description: No Post Variables
Using the latest CVS copy of the source (5:00am EST 4-11-2002) and apache
2.0.35, there is a problem recieving POST variables. Get and other
variables appear to work correctly, but POST variables are not parsed, nor
do values exist in $HTTP_POST_VARS either (register_globals is turned on
for script compatability). System information is as follows:
distro : slackware
kernel : 2.2.19
PHP : Latest CVS
Apache : 2.0.35
Tag : Apache/2.0.35 (Unix) mod_ssl/2.0.35 OpenSSL/0.9.6c DAV/2
PHP/4.3.0-dev
configure: ./configure --with-apxs2 --with-mcrypt --with-mhash
--with-openssl --with-mysql
test.php:
<HTML>
<BODY>
<FORM METHOD="POST" ACTION="test.php">
<INPUT TYPE="text" NAME="box"><BR>
<INPUT TYPE="submit"><BR><BR>
</FORM>
<?
import_request_variables("gpc");
echo "-$HTTP_POST_VARS[box]-<BR>";
echo "-$box-<BR>";
?>
</BODY>
</HTML>
Output with entered text 'Testing...':
--
--
Further information available upon request.
--
Edit bug report at http://bugs.php.net/?id=16546&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=16546&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=16546&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=16546&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=16546&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=16546&r=support
Expected behavior: http://bugs.php.net/fix.php?id=16546&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=16546&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=16546&r=submittedtwice