This is a discussion on "[SOLVED] Os Detection" within the PHP Forum section. This forum, and the thread "[SOLVED] Os Detection are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
[SOLVED] Os Detection
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
||||
|
[SOLVED] Os Detection
Is there any code html or php. That would tell the use what os there running. Eg
You are not Running a Windows pc You are on Vista Ulimate - basic - ect You are on Xp
__________________
The Net is Dying | Fan Rage | We are Battlefield heroes - BFH Forum Vanilla Source - Vanilla Help, and mods
Last Blog Entry: Whats your Niche? (Jun 10th, 2008)
|
|
|
|
||||
|
Re: Os Detection
![]() Like this but html with my own custom messages
__________________
The Net is Dying | Fan Rage | We are Battlefield heroes - BFH Forum Vanilla Source - Vanilla Help, and mods
Last Blog Entry: Whats your Niche? (Jun 10th, 2008)
|
|
||||
|
Re: Os Detection
Look up user agents.
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
|
|
||||
|
Re: Os Detection
|
|
|||
|
Re: Os Detection
Hi Simon,
You could try something like this in JavaScrict:
|
|
|||
|
Re: Os Detection
This is what you are looking for, The Perfect Solution!
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
|
|
||||
|
Re: Os Detection
i don't have asp. Php html
__________________
The Net is Dying | Fan Rage | We are Battlefield heroes - BFH Forum Vanilla Source - Vanilla Help, and mods
Last Blog Entry: Whats your Niche? (Jun 10th, 2008)
|
|
||||
|
Re: Os Detection
Check this out: http://de2.php.net/manual/en/reserved.variables.php
Especially the $_SERVER['HTTP_USER_AGENT'] should be interesting.
Last Blog Entry: 10 Reasons Why My Laptop Is Better Than Your Girlfriend (Dec 15th, 2007)
|
|
||||
|
Re: Os Detection
__________________
WelshStew Lead Administrator tierney rides tboard - uk site | xtreme wales - extreme clothing If you think I've helped, click the "Thanks" webforumz - facebook | LinkedIn
Last Blog Entry: Web Standards Curriculum Launched (Jul 8th, 2008)
|
|
||||
|
Re: Os Detection
__________________
The Net is Dying | Fan Rage | We are Battlefield heroes - BFH Forum Vanilla Source - Vanilla Help, and mods
Last Blog Entry: Whats your Niche? (Jun 10th, 2008)
|
|
||||
|
Re: Os Detection
Someone move this to PHP section?
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
|
|
|||
|
Re: Os Detection
How come it looks simple in php compare to asp?
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
|
|
||||
|
Re: Os Detection
cus PHP has nothing to do with microsoft
Last Blog Entry: 10 Reasons Why My Laptop Is Better Than Your Girlfriend (Dec 15th, 2007)
|
|
|||
|
Re: Os Detection
its the same...
the only difference from the function i've uploaded is that this function is using array. you can do it too... the truth is that i don't know what better except that arrays looking nicer ;] |
|
|||
|
Re: [SOLVED] Os Detection
The asp INSTR function will do just fine for now
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
|
|
||||
|
Re: [SOLVED] Os Detection
i am going to add it to vistahelpers.co.uk
So i can tell people to get vista
__________________
The Net is Dying | Fan Rage | We are Battlefield heroes - BFH Forum Vanilla Source - Vanilla Help, and mods
Last Blog Entry: Whats your Niche? (Jun 10th, 2008)
|
|
|||
|
Re: [SOLVED] Os Detection
I am not ready for Vista
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
|
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [SOLVED] Event Chain detection | StanLevin | JavaScript Forum | 4 | Jan 18th, 2008 18:33 |
| Browser detection IE mac | jillcary | JavaScript Forum | 1 | Aug 1st, 2007 11:28 |
| javascript detection | yvettesio | JavaScript Forum | 2 | Feb 12th, 2007 23:58 |
| Object Detection | RobinDeanDotCom | JavaScript Forum | 4 | Sep 11th, 2006 18:30 |
| ie mac detection | jimz | JavaScript Forum | 2 | Jul 27th, 2006 22:07 |