View Single Post
Old 05-16-2008, 02:54 AM   PM User | #2
CFMaBiSmAd
Senior Coder

 
CFMaBiSmAd's Avatar
 
Join Date: Oct 2006
Location: Denver, Colorado USA
Posts: 2,714
Thanks: 2
Thanked 251 Times in 243 Posts
CFMaBiSmAd is a jewel in the roughCFMaBiSmAd is a jewel in the roughCFMaBiSmAd is a jewel in the roughCFMaBiSmAd is a jewel in the rough
The problem is that the browser does NOT send the client time/time zone in the headers. You would need to write or find a javascript script to do this.

You can take the "screen resolution" example in the php manual and modify it to send the client time/time zone or any other information available in the browser - http://www.php.net/manual/en/faq.htm...cript-variable
__________________
If you are learning PHP, developing PHP code, or debugging PHP code, do yourself a favor and check your web server log for errors and/or turn on full PHP error reporting in php.ini or in a .htaccess file to get PHP to help you.
CFMaBiSmAd is online now   Reply With Quote