westman Posted December 12, 2012 Author Share Posted December 12, 2012 ok thank you for your honesty i will go on to find the anwser, but where to start lol Link to comment Share on other sites More sharing options...
westman Posted August 11, 2013 Author Share Posted August 11, 2013 (edited) Hello everyone, I hate to reopen this but in the last few days I have noticed that my upload is not working and it's also very slow before failing after 2-3 minutes. I have not change my code but i have changed phpinfo.php In my phpinfo.php I now have... max_execution_time 7200 max_file_uploads 20 max_input_nesting_level 64 max_input_time 7200 memory_limit 221M post_max_size 220M upload_max_filesize 220M any help? Edited August 11, 2013 by westman Link to comment Share on other sites More sharing options...
Mudsaf Posted August 11, 2013 Share Posted August 11, 2013 Have you tried to check if your web-hosting server is preventing large files. Forexample all basic free hosts have PHP upload maxfile size few mb. do phpinfo(); at some of your webpage and check if the web-host isn't preventing that. My php upload file code looks like this $_FILES['<myfile>']['size']/1024/1024) <= 30 //30MB Check PHP.ini .htaccess phpinfo(); Link to comment Share on other sites More sharing options...
westman Posted August 11, 2013 Author Share Posted August 11, 2013 .htaccess is empty phpinfo(); i posted PHP5.ini looks like this... register_globals = off allow_url_fopen = off expose_php = Off max_input_time = 60 variables_order = "EGPCS" extension_dir = ./ upload_tmp_dir = /tmp precision = 12 SMTP = relay-hosting.secureserver.net url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=,fieldset=" memory_limit = 221M post_max_size = 220M file_uploads = On upload_max_filesize = 220M max_execution_time = 7200 max_input_time = 7200 session.gc_maxlifetime = 10800 Link to comment Share on other sites More sharing options...
westman Posted August 29, 2013 Author Share Posted August 29, 2013 any help? Link to comment Share on other sites More sharing options...
justsomeguy Posted August 29, 2013 Share Posted August 29, 2013 What is the error message when it fails? You should be checking for error messages in the $_FILES array and also make sure that PHP is reporting all errors. Link to comment Share on other sites More sharing options...
westman Posted September 3, 2013 Author Share Posted September 3, 2013 I have no errors. the page just loads like I have no internet connection. Link to comment Share on other sites More sharing options...
Mudsaf Posted September 3, 2013 Share Posted September 3, 2013 Anyway you could display your full code for both files uploading & form? Link to comment Share on other sites More sharing options...
westman Posted September 4, 2013 Author Share Posted September 4, 2013 I have, please see earlier posts. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now