big file uploading problem

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
User avatar
rajan
Forum Contributor
Posts: 110
Joined: Sun Aug 28, 2005 7:42 pm
Location: Lucknow, UP, India

big file uploading problem

Post by rajan »

i am trying to upload a file which is approx 8 MB. The connection is reset while uploading file. I have checked ini setting that is
post_max_size 50M
upload_max_filesize 50M
memory_limit 20M
max_input_time -1
max_execution time 90

I have changed max_execution_time to -1 and increased memory limit but each time i got connection reset error.

i want to upload a big file upto 50MB so how can i do this when i can't upload a 8 MB file?

I have tried to upload file using thinsliceupload java applet program to upload but i read somewhere that we can't use "put" method on shared server. so i failed to upload the file.
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

Is there an entry in the webserver's error log related to the problem?
User avatar
rajan
Forum Contributor
Posts: 110
Joined: Sun Aug 28, 2005 7:42 pm
Location: Lucknow, UP, India

Post by rajan »

i have only ftp access so i can't check error log.
User avatar
arturm
Forum Commoner
Posts: 86
Joined: Fri Apr 13, 2007 8:29 am
Location: NY
Contact:

Post by arturm »

try to add into your form:

Code: Select all

<input type="hidden" name="MAX_FILE_SIZE" value="50000">
Grim...
DevNet Resident
Posts: 1445
Joined: Tue May 18, 2004 5:32 am
Location: London, UK

Post by Grim... »

And use phpinfo() to check your max_upload_size.
User avatar
rajan
Forum Contributor
Posts: 110
Joined: Sun Aug 28, 2005 7:42 pm
Location: Lucknow, UP, India

Post by rajan »

I have already checked phpinfo and told all settings.
Post Reply