php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #44146 Problem with POST forms
Submitted: 2008-02-18 10:23 UTC Modified: 2008-02-24 19:39 UTC
From: rebel29270 at wanadoo dot fr Assigned:
Status: Not a bug Package: *General Issues
PHP Version: 5.2.5 OS: Gentoo linux
Private report: No CVE-ID: None
 [2008-02-18 10:23 UTC] rebel29270 at wanadoo dot fr
Description:
------------
I have updated my apache server from 2.2.6 to 2.2.8 and since the POST forms
dont send any informations:

example: http://www.gigaup.fr/test/test.php
source code: view down


thanks in advance

Reproduce code:
---------------
<form action="" method="POST">
	form en post<input name="input" type="texte" value="" size="22"  /><input
name="envoyer" type="submit" value="ok" />
</form>
<br />
<form action="" method="GET">
	form en get<input name="input" type="texte" value="" size="22"  /><input
name="envoyer" type="submit" value="ok" />
</form>
<br />
<?
echo "<pre>";
print_R($GLOBALS);
echo "</pre>";
?>

Expected result:
----------------
i exepected seeing teh typed vars

Actual result:
--------------
no results :)

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-02-18 10:29 UTC] bjori@php.net
Make sure "P" is in the variables_order php.ini setting (and make sure you are editing the correct ini file).

 [2008-02-18 10:35 UTC] rebel29270 at wanadoo dot fr
in my file:/etc/php/apache2-php5/php.ini

i have that....


; This directive describes the order in which PHP registers GET, POST, Cookie,
; Environment and Built-in variables (G, P, C, E & S respectively, often
; referred to as EGPCS or GPC).  Registration is done from left to right, newer
; values override older values.
variables_order = "EGPCS"
 [2008-02-18 10:47 UTC] bjori@php.net
What about post_max_size?
(could you maybe put phpinfo() output somewhere)
 [2008-02-18 10:53 UTC] rebel29270 at wanadoo dot fr
yes sry 
the phpinfo is here: http://www.gigaup.fr/test/phpinfo.php

post_max_size = 10 Gigats :)
 [2008-02-18 10:55 UTC] rebel29270 at wanadoo dot fr
humm problem solved but why could i cant use 10G it works with 5G
 [2008-02-24 19:39 UTC] jani@php.net
Some weird user error, there's nothing wrong with POST stuff with properly configured PHP / webserver.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sun Nov 30 14:00:01 2025 UTC