Jump to content

Html Form Timing Out


Recommended Posts

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

Link to post
Share on other sites
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 15m

php_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!

Link to post
Share on other sites
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....

Link to post
Share on other sites

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 by Steve Scrimpshire
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...