Page 1 of 1

Access to the user timestamp

Posted: Thu May 25, 2006 9:03 am
by jasongr
Hello

I would like to know whether I have access to the timestsamp in which the user browser is in when I am in PHP on the Server side.
Maybe the server has that info from the client request and it is buried inside the $_SERVER array or in some other data structure

anyone knows?

Posted: Thu May 25, 2006 9:28 am
by feyd
not available without help via Javascript.

Posted: Thu May 25, 2006 9:33 am
by jasongr
thanks

I read about $_SERVER['REQUEST_TIME'] but that is only available since PHP 5.1.0

Posted: Thu May 25, 2006 9:35 am
by feyd
REQUEST_TIME is the time the page was requested based on the server, not the client.

Posted: Thu May 25, 2006 10:21 am
by Weirdan
not available without help via Javascript.
Yet it's easy with...