matharding Posted August 2, 2007 Share Posted August 2, 2007 Hi there, I'm trying to find a PHP upload script that allows me to upload large files (up to 1 gig) to my site, cant seem to find anything that is freeware out there and wondered if anybody could help? Many thanks Quote Link to comment https://forums.phpfreaks.com/topic/63020-php-upload-limit/ Share on other sites More sharing options...
shocker-z Posted August 2, 2007 Share Posted August 2, 2007 upto 1GIG!? That's a lot of data for 1 file! I'm not sure if this may work but you could up the size in the INI and then set your script to never timeout.. but it could be 4hours-2 days for someone to upload to you.. average upstream now days is around 30KBps which is approximatly 4hours with a couple of blips.. You mind me asking what your planning on letting people upload of that size as that's not heard of often. Regards Liam Quote Link to comment https://forums.phpfreaks.com/topic/63020-php-upload-limit/#findComment-313851 Share on other sites More sharing options...
matharding Posted August 2, 2007 Author Share Posted August 2, 2007 Hi there, yeah its for somebody who wants to allow clients to upload print quality PDF's, 1 gig wouldnt be very likely though, an average of 100 meg probably. I've seen a few scripts that split files up in different ways to get past the size limits too but havent tried them yet. Congratulations on your 1000th post by the way! Quote Link to comment https://forums.phpfreaks.com/topic/63020-php-upload-limit/#findComment-313916 Share on other sites More sharing options...
shocker-z Posted August 2, 2007 Share Posted August 2, 2007 there wont be any server side scripts that splits the file as it would have to have the entire file before this is possible.. You could look at raring the file into segmants and then using commandline rar to extract the archive but seems a long way around. You should just be able to use standard simple file upload scripts and set a really long or unlimited timeout on a page. Thanks.. didn't realise it was my 1000th post lol p.s. Google for php file upload and you'll find plenty Liam Quote Link to comment https://forums.phpfreaks.com/topic/63020-php-upload-limit/#findComment-314125 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.