[PHP] why use http headers??

2004-08-10 Thread Tobias Grønlund
Hey people, i need some help. Im missing some arguments for using http headers, especially "content-length", for speeding up a site or just improving the quality of a site :) any comments appreciated... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/u

[PHP] reading filesize on remote server

2004-08-05 Thread Tobias Grønlund
Im having a problem reading filesizes on a remote server, hven only having the domainname, and not the exact filename. (i want to use it to read the filesize and thereby the downloadtime of the html-file, and it all schould happen automaticly when someone writes the domainname at my webpage) )

Re: [PHP] Re: webserver response-time, how?

2004-08-04 Thread Tobias Grønlund
begin your process without any delay, but if you are concerned about this response time, I'm guessing the server is not idle. You have a tough problem, wish I could offer more help, Warren Vail -Original Message----- From: Tobias Grønlund [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 04,

Re: [PHP] Re: webserver response-time, how?

2004-08-04 Thread Tobias Grønlund
e page and measure the total span of time. In this case I would recommend using CURL, or Pears HTTP_REQUEST instead of dealing with the intricacies of building the request, etc. Hope this helps, Warren Vail -Original Message----- From: Tobias Grønlund [mailto:[EMAIL PROTECTED] Sent: Wednesday,

[PHP] Re: webserver response-time, how?

2004-08-04 Thread Tobias Grønlund
M. Sokolewicz wrote: Tobias grønlund wrote: Im trying to find a way of getting the responsetime from a remote webserver before it actually starts sending some output for your browser to read. Any ideas?? try timing the fsockopen() or (whatever you use) call. :) That'll give you a reaso

[PHP] webserver response-time, how?

2004-08-04 Thread Tobias Grønlund
Im trying to find a way of getting the responsetime from a remote webserver before it actually starts sending some output for your browser to read. Any ideas?? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php