ashesnglass 0 Posted August 4, 2006 Share Posted August 4, 2006 Hi, I'm having a real problem with an HTML form when uploading large files, as of today. Yesterday, uploading a 5mb file with the form was not a problem (thanks to setting a couple php variables in .htaccess), but today the script always times out at 30 seconds. So after talking to the help desk, who says it's on my end, I set up the most simple script possible at www.midsouthtalent.com/test.php but it still times out (this one at 60 seconds). <form method="post" enctype="multipart/form-data" action="/admin/test.php"><input type="hidden" name="MAX_FILE_SIZE" value="14000000"> <p>Video 1:<br> <input type="file" name="video1" class="form_textbox"> <input type="submit" name="submit" value="Update Artist" class="form_button"></p></form> Any ideas as to why the thing times out? Feel free to try to upload a file around 8mb or larger--nothing is set to happen on execution of this text script. Thanks! Dave Quote Link to post Share on other sites
TCH-Bruce 16 Posted August 4, 2006 Share Posted August 4, 2006 Have you increased the variable in the htaccess file to allow larger files? Quote Link to post Share on other sites
ashesnglass 0 Posted August 4, 2006 Author Share Posted August 4, 2006 Have you increased the variable in the htaccess file to allow larger files? The php variable, yes, and that was great until today. php_value upload_max_filesize 15mphp_value post_max_size 40m php_value max_execution_time 240 php_value max_input_time 240 Is that what you're referring to, Bruce? Thanks! Quote Link to post Share on other sites
TCH-Bruce 16 Posted August 4, 2006 Share Posted August 4, 2006 Yes, that was it. But I think if you try this it will work php_value upload_max_filesize 15M php_value max_execution_time 800 Note that the "M" is a capital letter and not lower case. Quote Link to post Share on other sites
ashesnglass 0 Posted August 5, 2006 Author Share Posted August 5, 2006 Yes, that was it. But I think if you try this it will work php_value upload_max_filesize 15M php_value max_execution_time 800 Note that the "M" is a capital letter and not lower case. Same thing.... "The connection to the server was reset while the page was loading" right at 60 seconds. In this case it's not really a php script--it doesn't have any php to it. I read about this happening when cgi has its own time limit set, but I have no clue if there's such a thing. I dunno.... Quote Link to post Share on other sites
TCH-Bruce 16 Posted August 5, 2006 Share Posted August 5, 2006 Sorry, I don't know what else to try other than tell you to use an FTP client to upload. Maybe someone else will have an answer. Quote Link to post Share on other sites
ashesnglass 0 Posted August 5, 2006 Author Share Posted August 5, 2006 Thanks anyway Bruce. I'll see if any answers come and then get the support desk back. Quote Link to post Share on other sites
Steve Scrimpshire 0 Posted August 5, 2006 Share Posted August 5, 2006 (edited) For reference purposes, I am in Southern MS, using Comcast cable internet and it timed out for me trying to upload a file called test.fib (8.8M) at 31.823 seconds. You can refer the helpdesk to me, if they want to verify that it is not just you. My domain is http://semperphi.com Edited August 5, 2006 by Steve Scrimpshire Quote Link to post Share on other sites
ashesnglass 0 Posted August 5, 2006 Author Share Posted August 5, 2006 For reference purposes, I am in Southern MS, using Comcast cable internet and it timed out for me trying to upload a file called test.fib (8.8M) at 31.823 seconds. You can refer the helpdesk to me, if they want to verify that it is not just you. My domain is http://semperphi.com Thanks Steve! Quote Link to post Share on other sites
Senator 0 Posted August 8, 2006 Share Posted August 8, 2006 Is this PHP? //disable script timeout set_time_limit(0); Quote Link to post Share on other sites
TCH-JimE 0 Posted August 8, 2006 Share Posted August 8, 2006 Depends, it would need to be included into a php file if it was. JimE Quote Link to post Share on other sites
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.