Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PHP and Operating System Detection 1

Status
Not open for further replies.

Kriekie

Technical User
Nov 21, 2004
10
ZA
Hi All!

I have a custom popup script that works fine with Windows XP Professional, but not with XP Home. I want to add a php detection script that will detect wether the user is using XP Home or XP Professional and then redirect the user according to these variables. Any ideas how this can be done?

Thanks!
 
PHP runs on the server and if it would detect any OS it would detect the OS that is running on the server rather than that of the client. You will need to use JavaScript to detect client machine & settings.

JavaScript forum
 
how about php headers??? they are supposed to give some OS info (if passed by browser)...

Known is handfull, Unknown is worldfull
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top