newhip Posted September 17, 2013 Share Posted September 17, 2013 Ok I have a problem... My sever has a max_file_upload of 2mb that can't be modified. I need to load larger files than that through a form and not a client like filezila or wtv. I've looked through so many documents looking to find the answer and have found none. Does anyone know how this can be done? I want this to be done through php. I'm thinking maybe breaking down the file or using php ftp or something but have no idea where to start! HELP!!! Quote Link to comment Share on other sites More sharing options...
jazzman1 Posted September 17, 2013 Share Posted September 17, 2013 Ok I have a problem... My sever has a max_file_upload of 2mb that can't be modified. Did you try to create a custom .ini file inside your home directory? What do you mean by saying -" my server"? Quote Link to comment Share on other sites More sharing options...
newhip Posted September 17, 2013 Author Share Posted September 17, 2013 i mean the company hosting my my website. and i have created a custom ini file but they have set restrictions Quote Link to comment Share on other sites More sharing options...
jazzman1 Posted September 17, 2013 Share Posted September 17, 2013 No, there's nothing you can do about it. BTW: What's the name of your hosting provider? Quote Link to comment Share on other sites More sharing options...
DFulg Posted September 18, 2013 Share Posted September 18, 2013 Your best bet is to contact your host provider and work with them on this. Quote Link to comment Share on other sites More sharing options...
jazzman1 Posted September 18, 2013 Share Posted September 18, 2013 No, actually it's possible if you chunk the files using javascript and AJAX. So, try that Quote Link to comment Share on other sites More sharing options...
DFulg Posted September 18, 2013 Share Posted September 18, 2013 No, actually it's possible if you chunk the files using javascript and AJAX. So, try that I do not believe that chunking is supported by IE and if that is the case, imo that is not a viable option. Your option is also assuming that the OP knows basic Javascript/JQuery. OP, imo you should start by contacting your host provider and see if the issue can be resolved, if it cannot, switch to another provider. Quote Link to comment Share on other sites More sharing options...
jazzman1 Posted September 18, 2013 Share Posted September 18, 2013 I do not believe that chunking is supported by IE and if that is the case, imo that is not a viable option. It should be OK, I think. I stoped using windows from 1998, so not sure about that. So I've made a test with firefox to my godaddy dedicated server and I was able to upload 50MB zip file by max_file_uploads restriction 20MB. Quote Link to comment Share on other sites More sharing options...
DFulg Posted September 18, 2013 Share Posted September 18, 2013 It should be OK, I think. I stoped using windows from 1998, so not sure about that. So I've made a test with firefox to my godaddy dedicated server and I was able to upload 50MB zip file by max_file_uploads restriction 20MB. I think that this is a good idea, however you have to consider that IE still represents the majority of users and I do not believe that chunking is supported. I also believe that chunking should be considered after the host provider has been consulted since it is more of a bandaid then a solution. Quote Link to comment Share on other sites More sharing options...
jazzman1 Posted September 18, 2013 Share Posted September 18, 2013 Well, if some user uses an IE, he can make a test uploading a file over than 20MB till 50MB (I just removed windows Vista from my virtual machine few days ago) This is my simple multiple templates application using twig engine: http://kaneffbrookside.ca/guestbook/ Quote Link to comment Share on other sites More sharing options...
jazzman1 Posted September 18, 2013 Share Posted September 18, 2013 (edited) I think that this is a good idea, however you have to consider that IE still represents the majority of users and I do not believe that chunking is supported. There wasn't a problem with IE7 with a zip file of 90MB and the chunk_size step set up to 5MB, by upload_max_filesize restriction from godaddy to 25MB. // General settings runtimes : 'html4', url : 'upload.php', max_file_size : '100mb', chunk_size : '5mb', unique_names : true, GoDaddy default settings: upload_max_filesize: 25M max_file_uploads: 20 Edited September 18, 2013 by jazzman1 Quote Link to comment Share on other sites More sharing options...
newhip Posted September 18, 2013 Author Share Posted September 18, 2013 I do not code for IE I completely disregard it. I know a bit of javascript and jquery and "chunking it" seems like what i want to do. Quote Link to comment Share on other sites More sharing options...
newhip Posted September 18, 2013 Author Share Posted September 18, 2013 We use Chrome or Firefox Quote Link to comment Share on other sites More sharing options...
vinny42 Posted September 18, 2013 Share Posted September 18, 2013 We use Chrome or Firefox If the site is not public then you can do that, but then you can also use a java-based uploader, and, indeed, plain old FTP, bypassing PHP completely (the only "good" way to send files is through FTP) Quote Link to comment Share on other sites More sharing options...
jazzman1 Posted September 18, 2013 Share Posted September 18, 2013 I do not code for IE I completely disregard it. I know a bit of javascript and jquery and "chunking it" seems like what i want to do. Did you try plUpload? You can download a free version released by GPLv2 license. @off: I remember that beautiful cat Quote Link to comment Share on other sites More sharing options...
newhip Posted September 18, 2013 Author Share Posted September 18, 2013 lol what cat? the one in my avi? What is plUpload? i downloaded it and have no clue what it is Quote Link to comment Share on other sites More sharing options...
Solution jazzman1 Posted September 18, 2013 Solution Share Posted September 18, 2013 (edited) lol what cat? the one in my avi? What is plUpload? i downloaded it and have no clue what it is It is a multiple uploading javascript API which will allow you "chunking" large files and saving them to the fileserver, without pretty much understanding of javascript and php. All tests I did last night with it. For better understanding, read at docs, it's very simple. @off: We spoke previously about this cat. Do you remember? That's mine PS: If you don't understand something about this API, don't hesitate to ask the people in this forum. Edited September 18, 2013 by jazzman1 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.