Home > Archive > PHP Language > August 2004 > Post Variables sometimes empty
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Post Variables sometimes empty
|
|
| Simon Spielmann 2004-08-26, 3:55 am |
| Hello,
I have an PHP application running on
a debian box with apache 2. The package
versions for php and apache are:
- apache2 2.0.49-1
- libapche2-mod 4.3.4-4
Some users have the problem that their input
to the forms generate by the PHP scripts are not
transmitted. So I wrote a small test page with a
single text field, which shows the output of $_POST
and phpinfo() under the field. When I transmit the
page most of the time everything is correct ($_POST contains
the input of the textfield). But sometimes (every 10-20th time)
$_POST ist completly empty and in the output of phpinfo(),
I can the that the HTTP Content-Length is 0.
Register Globals is on. Trying the same page on Windows IIS
doesn't show this problem.
So why aren't the form contents transmitted to PHP interpreter?
| |
|
| Simon Spielmann wrote:
> Hello,
>
> I have an PHP application running on
> a debian box with apache 2. The package
> versions for php and apache are:
>
> - apache2 2.0.49-1
> - libapche2-mod 4.3.4-4
>
> Some users have the problem that their input
> to the forms generate by the PHP scripts are not
> transmitted. So I wrote a small test page with a
> single text field, which shows the output of $_POST
> and phpinfo() under the field. When I transmit the
> page most of the time everything is correct ($_POST contains
> the input of the textfield). But sometimes (every 10-20th time)
> $_POST ist completly empty and in the output of phpinfo(),
> I can the that the HTTP Content-Length is 0.
> Register Globals is on. Trying the same page on Windows IIS
> doesn't show this problem.
>
> So why aren't the form contents transmitted to PHP interpreter?
Hello, try to check it from outside of your server, and if this problem
is already on, change your apache to a new one, (if not, then do
nothing) or check the php.ini file, and check it if the error reporting
is set to e_all, so you can see all your error warnings in your browser,
but if it works, don't forget to set back to the default, because your
users are go crazy, if something wrong will happen. Another solve of
this problem: try to use another browser, like Firefox, but I think,
your whole problem is based on the server settings.
Bye: Sulla
|
|
|
|
|