View Full Version : System detection?
Cyber
September 9th, 2001, 10:33
How do i tell if someone is using MAC or WINDOWS(/PC) using PHP/CGI.
jon787
September 9th, 2001, 23:11
PHP:
$HTTP_USER_AGENT
It is in that string somewhere along with the browser.
Cyber
September 10th, 2001, 06:58
thx
dony
September 10th, 2001, 10:14
don't it say only the browser (maybe linux using netscape or win using netscape).how can you know that user uses linux?
for opera or neoplanet?what say abot them $HTTP_USER_AGENT?.
jon787
September 10th, 2001, 18:07
As far as I can tell $HTTP_USER_AGENT dumps out the same stuff that I get in a raw logfile. It generally contains borwser, version, OS. I only know one broswer that doesn't return the OS and that is Lynx..
Powered by vBulletin® Version 4.1.7 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.