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.
|