User details

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

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

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


Re: User details

Quoted text here. Click to load it

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_LANGUAGE,  
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

Site Timeline