Debt Consolidation - Debt Consolidation - Web Hosting - Debt Consolidation - Wp themes

PDA

View Full Version : File uploading with PHP on server


sonirajesh
Jul 4th 2007, 10:44 pm
i am having trouble with uploading, when i upload big size file like >2M
it hang the browser and show blank screen and file does not get upload.

upload_max_filesize is set 8M

But when same thing on local network works file, seems problem in more setting.

please help

Rajesh Soni

Mashahood
Jul 4th 2007, 11:18 pm
what is your post_max_size= ??

Increase this to 10 to 12 MB

sonirajesh
Jul 5th 2007, 12:36 am
sorry, it didn't work

Rajesh

Greg Carnegie
Jul 5th 2007, 2:18 am
Maybe your script reaches max execution time before it uploads your file?

Try: void set_time_limit ( int $seconds ); and set $seconds = 600;

10 minutes should be enough time to upload 2 Mb file.