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? Quote Link to comment 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 Quote Link to comment 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? Quote Link to comment Share on other sites More sharing options...
ag3nt42 Posted July 15, 2008 Author Share Posted July 15, 2008 (bump) Quote Link to comment 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. Quote Link to comment 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 Quote Link to comment 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 Quote Link to comment 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. Quote Link to comment 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? Quote Link to comment 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 =\ Quote Link to comment 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. Quote Link to comment 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/ Quote Link to comment 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 Quote Link to comment 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.