visitor's timezone sent to php

Discussion in 'PHP' started by siraxi, Aug 6, 2006.

  1. #1
    Hi

    I'm looking for a script that would allow me to use the visitor's local time in a server-side application (generating an image with php). For this I'll need the visitor's local timezone, to use with server time (I wouldn't rely on visitor's computer time).
    I suppose it has to be a Javascript chunk integrated in php. So far, the only way I found out about was setting a cookie, then trying to get the information from there with php.
    Is there any other way?

    Thanks.
     
    siraxi, Aug 6, 2006 IP
  2. clancey

    clancey Peon

    Messages:
    1,099
    Likes Received:
    63
    Best Answers:
    0
    Trophy Points:
    0
    #2
    clancey, Aug 6, 2006 IP
    coderlinks likes this.