User details

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • joaoduraes@yahoo.com

    User details

    Hello.

    What information can we get from a user using PHP?
    I know that javascript can "read" a lot of things, like screen size,
    colour depth....and use a few tricks to send that information to the
    serrver.

    I know that with PHP we can get the user agent of a browser and little
    more.
    What else can we get with PHP and/or with javascript??


    Thanks!!
  • Rik Wasmus

    #2
    Re: User details

    On Fri, 08 Feb 2008 22:44:44 +0100, <joaoduraes@yah oo.comwrote:
    Hello.
    >
    What information can we get from a user using PHP?
    I know that javascript can "read" a lot of things, like screen size,
    colour depth....and use a few tricks to send that information to the
    serrver.
    >
    I know that with PHP we can get the user agent of a browser and little
    more.
    What else can we get with PHP and/or with javascript??
    Anything that is in te $_SERVER array, don't trust it though, it's just
    headers the clients send on a request.

    One of the nicer and usefull once is for instance HTTP_ACCEPT_LAN GUAGE,
    which will by most modern UA's be filled with the language of the OS by
    default, or a user defined value. Way better to decide which language to
    show then GeoIP stuff, and with a lot less overhead.
    --
    Rik Wasmus

    Comment

    Working...