Posted by Jerry Stuckle on 07/07/07 01:27
newbie wrote:
> Hi,
>
> I wonder if it's possible to detect a user (the browser's) timezone
> when he/she access my php file? I saw ppl suggesting using javascript
> to collect that information. But I wonder if it's possible to do it
> without the headache of javascript.
>
>
> Thanks,
>
>
> <?php
> // (1) here I somehow get his/her timezone
>
>
> // (2) here fill his/her login timestamp into database----
> apparently, this timestamp should be converted to a unified time
> zone.
> ?>
>
Nope. You need something which will run on the client's system to check
the timezone setting - i.e. javascript.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Navigation:
[Reply to this message]
|