hey i was wondering if someone knows what the code is to display a user's OS and screen resolution. i just dont remember what its called. like for IP addresses its "REMOTE_ADDR"
hey i was wondering if someone knows what the code is to display a user's OS and screen resolution. i just dont remember what its called. like for IP addresses its "REMOTE_ADDR"
REMOTE_HOST Sends the hostname making the request.
REMOTE_ADDR Sends the IP address of the remote host making the request.
REMOTE_USER If server supports authentication and script is protected, this is the username they have authenticated as. (This is not usually set.)
HTTP_USER_AGENT The browser the client is using to send the request.
It's possible with Javascript, and 100% impossible with PHP. When I get home from school if I remember I'll get you a link or two.
thanks NedreN. i look forward to those links. and i know it can be done with javascript its just most of the time the file needs to be parsed by the server meaning it needs to be in .shtml format, however i use PHP so most of the javascript scripts i have found dont work.
DesertWar what about OS and Screen Resolution though?
Last edited by SecureStealth; 01-11-2006 at 09:08 PM.
Hmm... I know NedreN is right most places have an image that can tell.
PHP (Getting *some* details.):
http://www.geekpedia.com/tutorial22_...formation.html
Javascript (Operating system, browser, etc.):
http://www.developertutorials.com/dt...p?id=4296&vt=0
NedreN's right again! But if the user has JS disabled.
thanks NedreN! im gonna check out those links now