Page 1 of 1

php file upload fails

Posted: Thu Jul 09, 2009 4:53 am
by kirku
Hai,

In my site ,I have to upload files .I can upload files having small size.But now I want to upload files having size up to 50-80 MB.

I am using php5

I changed the php5.ini file as

memory_limit = 300M
upload_max_filesize = 200M
post_max_size = 500M
max_execution_time = 4000

It fails after some time.Error shows as 'Connection Interupted'.

In the specific page (upload.php) also I changed the code as

set_time_limit(0);
ini_set("memory_limit","300M");
ini_set("upload_max_filesize","300M");
ini_set("post_max_size","300M");
ini_set("max_execution_time",3000);

Still the process fails....


Can any one help me...


Thanks&Regards
Kiran

Re: php file upload fails

Posted: Thu Jul 09, 2009 9:18 am
by Skara
As a photographer, I've worked with labs where you regularly upload massive files. All of them use java to accomplish it. I've never seen it done through an html form. I'm not saying it isn't possible, but I've never seen it done. ;)