Textarea is sometimes missing in $ _POST, but is content_length always correct?

A strange error appeared on a server with a rather active site.

  • Server: Apache / 2.2.3 (CentOS)
  • PHP: 5.2.6
  • eAccelerator 0.9.5.3

When using multipart forms, sometimes the data sent from the text field will be missing in $ _POST

We know that the data was sent because the content_length shows a reasonable size of more than 1K

All other input fields in the form are correctly accepted.

This is NOT a browser specific and occurs in IE / Firefox / Chrome.

It works in almost 99% of cases, only it does not work 1 or 2 times on average for every hundred messages.

In a very rare case, we were able to play it on our own, so that we know that the data is being sent, it is simply not being processed, or apache / php

php.ini:

memory_limit
max_input_time
upload_max_file_size
post_max_filesize

httpd.conf

LimitRequestBody
TimeOut

, . - PHP.

+5
1

, ( ^^), suhoshin / , ?
( , CentOS, , , Ubuntu, " " )

- , , , :

[30 2007 11:02 am UTC] sbauer at gjl- dot

, default - cookie, , , . . POST :

suhosin.post.max_array_depth 100 100 suhosin.post.max_array_index_length 64 64 suhosin.post.max_name_length 64 64 suhosin.post.max_totalname_length
256 256 suhosin.post.max_value_length 65000 65000 suhosin.post.max_vars
200 200

. . , POST ( , -, ).

php.ini ( suhosin.ini) 0 . , . /: suhosin.post.max _.... suhosin.request.max _... suhosin.get.max _... suhosin.session.max _... suhosin.cookie.max _...

phpinfo(), !

/:

[13.11.2008 16:58 UTC] keith at tdrnetworks dot com

enctype = "multipart/form-data" not $_POST vars, , .

!

, :

[5 18:49 pm UTC] neal dot pressley yahoo dot com

. html php-, . , PHP . , . Get, . ENCTYPE

/ HTML ? , ?


, ... , !

+2

All Articles