php file upload fails

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
kirku
Forum Newbie
Posts: 1
Joined: Thu Jul 09, 2009 4:45 am

php file upload fails

Post 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
User avatar
Skara
Forum Regular
Posts: 703
Joined: Sat Mar 12, 2005 7:13 pm
Location: US

Re: php file upload fails

Post 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. ;)
Post Reply