Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

content-length error

Status
Not open for further replies.

mpaters

MIS
Jun 24, 2000
12
0
0
US
I'm running a php site called opendocman and when I try to upload a file, I get the following error in the httpd log:

Requested content-length of 1234188 is larger than the configured limit of 524288

Can anyone tell me where this setting is? I have looked in the http.conf and php.ini but can't find anything related ot maybe I'm overlooking something.


rgs,
Mark
 
there are two settings that are relevant: First, in php.ini there is something like that:
Code:
; Maximum size of POST data that PHP will accept.
post_max_size = 8M

Second, in the form itself there may be a hidden field MAX_FILE_SIZE, that also affects upload size. Form more info see PHP manual, chapter 18 - handling file uploads.
Felix
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top