Re: [PHP] set browser timeout

2002-04-02 Thread Jason Wong

On Tuesday 02 April 2002 22:44, Schmidt, Carl wrote:
> I'm uploading a file to a web site using forms.  I'm trying to narrow down
> if the problem is the connection is timing out on file upload, or if I'm
> exceeding a web host imposed limit on file upload size.  I've found the
> server i'm running on has:
> upload_max_filesize 2M
> post_max_size 8M
> Apache connection: 300 sec
>
> 1.  I was assuming that post_max_size (since I'm posting the file, not
> uploading via ftp) takes precedence, so I should be able to upload up to
> 8M. 

My understanding of those settings is that:

"upload_max_filesize" determines the maximum size of a file and 
"post_max_size" determines the maximum size of the post which is all the bits 
of a form -- all the inputs, the textareas, the files etc.

Thus the settings you have above would limit your max file size to 2MB.

> 2.  I'm uploading via a T1, so there is no reason why the apache
> connection should timeout
> 3.  However, no matter what I do, it seems that the file upload times out
> after about 30 seconds for files below 2M.
>
> So there are 2 things I need to test:
> 1.  Is it that the upload_max_filesize is really what is limiting the
> upload and my assumption is wrong? OR
> 2.  Is it just a coincedence that anything over 2M takes over 30 sec to
> upload, and that the conenction times out after 30 seconds but the server
> _could_ handle more?

Try increasing the "upload_max_filesize" and see what happens





-- 
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk

/*
You own a dog, but you can only feed a cat.
*/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] set browser timeout

2002-04-02 Thread Schmidt, Carl

I'm uploading a file to a web site using forms.  I'm trying to narrow down
if the problem is the connection is timing out on file upload, or if I'm
exceeding a web host imposed limit on file upload size.  I've found the
server i'm running on has:
upload_max_filesize 2M
post_max_size 8M
Apache connection: 300 sec

1.  I was assuming that post_max_size (since I'm posting the file, not
uploading via ftp) takes precedence, so I should be able to upload up to 8M.
2.  I'm uploading via a T1, so there is no reason why the apache connection
should timeout
3.  However, no matter what I do, it seems that the file upload times out
after about 30 seconds for files below 2M. 

So there are 2 things I need to test:
1.  Is it that the upload_max_filesize is really what is limiting the upload
and my assumption is wrong? OR
2.  Is it just a coincedence that anything over 2M takes over 30 sec to
upload, and that the conenction times out after 30 seconds but the server
_could_ handle more?

Sorry for the long winded reply, but I wanted to provide some context for
this question I posted as best I could.  i was afraid if I put up the usual
"file upload problems" in the subject line it may get ignored.

__ 
Carl Schmidt | Developer | 
Latitude360.com a division of RWD Technologies,Inc. | 
[EMAIL PROTECTED] | 
877.9LAT360 | 410.869.7025 | 



-Original Message-
From: Rick Emery [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 02, 2002 9:27 AM
To: Schmidt, Carl; [EMAIL PROTECTED]
Subject: RE: [PHP] set browser timeout


what do you mean "timeout"?
What is timing out?

-Original Message-
From: Carl Schmidt [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 02, 2002 8:25 AM
To: [EMAIL PROTECTED]
Subject: [PHP] set browser timeout


Is there an HTTP tag in the header that can be sent to tell the browser
not to timeout?  I found the HTTP spec page, but I'm not sure what to
look for.

Carl


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] set browser timeout

2002-04-02 Thread Carl Schmidt

I'm uploading a file to a web site using forms.  I'm trying to narrow down
if the problem is the connection is timing out on file upload, or if I'm
exceeding a web host imposed limit on file upload size.  I've found the
server i'm running on has:
upload_max_filesize 2M
post_max_size 8M
Apache connection: 300 sec

1.  I was assuming that post_max_size (since I'm posting the file, not
uploading via ftp) takes precedence, so I should be able to upload up to
8M.
2.  I'm uploading via a T1, so there is no reason why the apache connection
should timeout
3.  However, no matter what I do, it seems that the file upload times out
after about 30 seconds for files below 2M.

So there are 2 things I need to test:
1.  Is it that the upload_max_filesize is really what is limiting the
upload  and my assumption is wrong? OR
2.  Is it just a coincedence that anything over 2M takes over 30 sec to
upload, and that the conenction times out after 30 seconds but the server
_could_ handle more?

Sorry for the long winded reply, but I wanted to provide some context for
this question I posted as best I could.  i was afraid if I put up the usual
"file upload problems" in the subject line it may get ignored.
 Carl

Rick Emery wrote:

> what do you mean "timeout"?
> What is timing out?
>
> -Original Message-
> From: Carl Schmidt [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, April 02, 2002 8:25 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] set browser timeout
>
> Is there an HTTP tag in the header that can be sent to tell the browser
> not to timeout?  I found the HTTP spec page, but I'm not sure what to
> look for.
>
> Carl
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] set browser timeout

2002-04-02 Thread Rick Emery

what do you mean "timeout"?
What is timing out?

-Original Message-
From: Carl Schmidt [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 02, 2002 8:25 AM
To: [EMAIL PROTECTED]
Subject: [PHP] set browser timeout


Is there an HTTP tag in the header that can be sent to tell the browser
not to timeout?  I found the HTTP spec page, but I'm not sure what to
look for.

Carl


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] set browser timeout

2002-04-02 Thread Carl Schmidt

Is there an HTTP tag in the header that can be sent to tell the browser
not to timeout?  I found the HTTP spec page, but I'm not sure what to
look for.

Carl


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php