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] images not displaying

2002-04-02 Thread Schmidt, Carl

yes.  the SRC=/home/website/testingArea/images/imagename.jpg
Should I just make it http://website.com/testingArea/images/imagename.jpg
instead?



__
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 5:49 PM
To: Schmidt, Carl; [EMAIL PROTECTED]
Subject: RE: [PHP] images not displaying 


examine the generated HTML with View Source in your browser.  Does it
contain what you expect?

-Original Message-
From: Carl [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 02, 2002 4:45 PM
To: [EMAIL PROTECTED]
Subject: [PHP] images not displaying 


the images folder is in /website/testingArea/images
the php page is located in /website/testingArea/administration/image.php
I have confirmed that the file I want to display does exist in the images
folder, and that the path is correct.

If I include a tag in images.php like so:
IMG SRC=/home? echo $DOCUMENT_ROOT . SITE_LOCATION
?/images/TopNavBar_01.jpg WIDTH=93 HEIGHT=110

Where SITE_LOCATION=testingArea/

The image will not display.  I have tried with and without the /home at the
beginning and neither one works.  What's going on ?

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] images not displaying

2002-04-02 Thread Schmidt, Carl

Nevermind, dumb mistake on my part.  I need some HTML 101

__
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 5:49 PM
To: Schmidt, Carl; [EMAIL PROTECTED]
Subject: RE: [PHP] images not displaying 


examine the generated HTML with View Source in your browser.  Does it
contain what you expect?

-Original Message-
From: Carl [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 02, 2002 4:45 PM
To: [EMAIL PROTECTED]
Subject: [PHP] images not displaying 


the images folder is in /website/testingArea/images
the php page is located in /website/testingArea/administration/image.php
I have confirmed that the file I want to display does exist in the images
folder, and that the path is correct.

If I include a tag in images.php like so:
IMG SRC=/home? echo $DOCUMENT_ROOT . SITE_LOCATION
?/images/TopNavBar_01.jpg WIDTH=93 HEIGHT=110

Where SITE_LOCATION=testingArea/

The image will not display.  I have tried with and without the /home at the
beginning and neither one works.  What's going on ?

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