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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Not sure...

Status
Not open for further replies.

buzzt

Programmer
Oct 17, 2002
171
CA
I'm not sure if what exactly the problem here is, but I have been using phpFTPAdmin (found on Sourceforge) as a means to upload files to my server from a web page. The problem is that whenever I try to upload a file greater than 7 megs, the page hangs and does not complete. I have the php.ini max upload size set to 50 megs, but it still won't go.

Any ideas what could be causing this?

P.S. I running PHP on a Win 2K server.
 
There are two or three settings in PHP that limit uploads, memory_limit, post_max_size, and upload_max_filesize. The relationship between the three values is:

memory_limit > post_max_size > upload_max_filesize.

I said earlier "two or three settings". The setting memory_limit will not affect your installation unless it was enabled at compile time using the "--enable-memory-limit" directive with the configure script.

Also, your web browser may limit the size of a file upload. For example, Apache has the configuration directive LimitRequestBody which can set the maximum amount of data that can be transmitted.

Want the best answers? Ask the best questions: TANSTAAFL!!
 
post_max_size did it!

Thanks a lot!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top