Jump to content
php.lv forumi

FILE UPLOAD


Starsky

Recommended Posts

Esmu palielinaajis shaadus parametrus:

 

upload_max_filesize

post_max_size

memory_limit

max_execution_time

 

Tos man variet neieteikt vairs palielinaat:)) Bet par tiem taimautiem, kaa tad ar vinjiem iisti ir, tieshaam neviens nezin?

Link to comment
Share on other sites

shkjiet vaina ir APACHE

 

A huge note to apache users handling large file uploads via http.

 

If you are seeing your uploads return with a white page, and your page doesn't finish parsing, you need to set your Apache Timeout directive to a larger value. The default is 300 seconds for Apache 1.3.2.8.

 

Apache does not as of yet have seperate timeout values for reading and writing responses, so it times out your upload because the server has not sent you any data within that timeout period. The Apache folks should fix this in a next release, as its really annoying for us who write systems which handle large file uploads! I mean, if you set your Apache conf to have a timeout of say, 24 hours (for slow connections on large uploads), you're leaving your server open to DOS attacks. ;((

Link to comment
Share on other sites

×
×
  • Create New...