ag3nt42 Posted July 15, 2008 Share Posted July 15, 2008 What is the max file size that can be uploaded via php..? and how do I set the max in the php INI? Link to comment https://forums.phpfreaks.com/topic/114850-max-file-size-that-can-be-uploaded/ Share on other sites More sharing options...
MiCR0 Posted July 15, 2008 Share Posted July 15, 2008 ; Maximum allowed size for uploaded files. upload_max_filesize = 32M Link to comment https://forums.phpfreaks.com/topic/114850-max-file-size-that-can-be-uploaded/#findComment-590578 Share on other sites More sharing options...
ag3nt42 Posted July 15, 2008 Author Share Posted July 15, 2008 now is there anyway that I could set the max to 1GB? if so would that screw up and time out? and if so how can i alter the timeout? Link to comment https://forums.phpfreaks.com/topic/114850-max-file-size-that-can-be-uploaded/#findComment-590683 Share on other sites More sharing options...
ag3nt42 Posted July 15, 2008 Author Share Posted July 15, 2008 (bump) Link to comment https://forums.phpfreaks.com/topic/114850-max-file-size-that-can-be-uploaded/#findComment-590762 Share on other sites More sharing options...
discomatt Posted July 15, 2008 Share Posted July 15, 2008 I don't recommend using web forms and POST for 1GB files.... but to prevent timeout, use set_time_limit. Link to comment https://forums.phpfreaks.com/topic/114850-max-file-size-that-can-be-uploaded/#findComment-590778 Share on other sites More sharing options...
ag3nt42 Posted July 15, 2008 Author Share Posted July 15, 2008 well this is for something in house.. and this way makes it the easiest. technically the biggest file is around 85MB but I want it set a smidge higher.. thanks for the response discomatt... keep it groovy! lol Link to comment https://forums.phpfreaks.com/topic/114850-max-file-size-that-can-be-uploaded/#findComment-590791 Share on other sites More sharing options...
widox Posted July 15, 2008 Share Posted July 15, 2008 You may also need to modify 'memory_limit' in php.ini. Trying to work with that large of files will probably max out the default setting... HTH Link to comment https://forums.phpfreaks.com/topic/114850-max-file-size-that-can-be-uploaded/#findComment-590875 Share on other sites More sharing options...
ag3nt42 Posted July 15, 2008 Author Share Posted July 15, 2008 ahh maybe thats why it acts like it finishes but then doesn't complete the script. Link to comment https://forums.phpfreaks.com/topic/114850-max-file-size-that-can-be-uploaded/#findComment-590896 Share on other sites More sharing options...
ag3nt42 Posted July 15, 2008 Author Share Posted July 15, 2008 i'm sure that helps but didn't fix the problem.. I still can't upload my file. anyone know if there is other settings besides timeout in IIS? Link to comment https://forums.phpfreaks.com/topic/114850-max-file-size-that-can-be-uploaded/#findComment-590928 Share on other sites More sharing options...
tommyboy123x Posted July 15, 2008 Share Posted July 15, 2008 I know you said PHP posting was the easiest, but why not just use a simple flash based uploader? you can find tons of those scripts online. PHP isn't really designed to upload big files, unless i'm mistaken =\ Link to comment https://forums.phpfreaks.com/topic/114850-max-file-size-that-can-be-uploaded/#findComment-590934 Share on other sites More sharing options...
ag3nt42 Posted July 15, 2008 Author Share Posted July 15, 2008 well the files that are being uploaded are updates for software that we write and I need to be able to save the path and file names and use them in the rest of my code. Link to comment https://forums.phpfreaks.com/topic/114850-max-file-size-that-can-be-uploaded/#findComment-590936 Share on other sites More sharing options...
Wuhtzu Posted July 15, 2008 Share Posted July 15, 2008 Maybe have a look at PHP's ftp functions... http://www.raditha.com/php/ftp/ Link to comment https://forums.phpfreaks.com/topic/114850-max-file-size-that-can-be-uploaded/#findComment-590963 Share on other sites More sharing options...
ag3nt42 Posted July 16, 2008 Author Share Posted July 16, 2008 nice share Wuhtzu.. this might be handy Link to comment https://forums.phpfreaks.com/topic/114850-max-file-size-that-can-be-uploaded/#findComment-591492 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.