php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #16546 No Post Variables
Submitted: 2002-04-11 05:39 UTC Modified: 2002-04-12 00:26 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: gpneujah at foxpaws dot net Assigned:
Status: Closed Package: Apache2 related
PHP Version: 4.0CVS-2002-04-11 OS: Linux 2.2.19
Private report: No CVE-ID: None
 [2002-04-11 05:39 UTC] gpneujah at foxpaws dot net
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.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-04-11 05:41 UTC] derick@php.net
Changing category
 [2002-04-12 00:26 UTC] gpneujah at foxpaws dot net
New CVS build as of 4pm EST 4/11/2002 fixed the problem.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Dec 30 14:01:28 2024 UTC