![]() |
PHP coders.. big uploads time out, help needed
Hi guys,
I'm trying to setup a script for uploading large files through PHP, and the script times out and causes the page to load infinitely. The code works flawlessly on smaller files, and i've searched google for a solution with no luck. the php.ini has huge settings for: max_execution_time max_input_time post_max_size upload_max_filesize so I don't know what else to do at this point.. right now i'm testing with a 170mb file and left it running over night. nothing. what gives? |
|
I wouldn't even bother. I've had more than my share of headaches dealing with that. PHP, Apache.. hell, browsers themselves were never meant to deal with file uploads of that size.
That's why FTP was invented. I'm not saying it's not possible but for all the headaches you'll give yourself, I suggest finding another way. :2 cents: |
what about memory_limit variable?
|
max_execution_time 3000
memory_limit 200M is all set in my php.ini I'm so frustrated with this >_< |
might want to check apaches timeout
|
Quote:
If you want a perl script to do this then email me : tube at econfirmpro dot com |
How big are the files?
|
Quote:
the less than 100mb files work great |
Like Stuart said, unless there is a great reason for you to be uploading 100MB files via the web, going the ftp route is the way to go...
|
Quote:
I wrote in PERL. There does not appear to be any limit to upload size with perl. You can however set a max upload size. If this was something that several people wanted then I could cut this code out of my tube script and set it up to work with your tube script. How many people need this? |
All times are GMT -7. The time now is 05:01 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123