php file upload fails
Posted: Thu Jul 09, 2009 4:53 am
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
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