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 |
|
#1
|
|||
|
|||
|
[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 | We are Battlefield heroes - BFH Forum Vanilla Source - Vanilla Help, and mods
Last Blog Entry: Whats your Niche? (Jun 10th, 2008)
|
|
|
|
#2
|
|||
|
|||
|
Re: Os Detection
![]() Like this but html with my own custom messages
__________________
The Net is Dying | We are Battlefield heroes - BFH Forum Vanilla Source - Vanilla Help, and mods
Last Blog Entry: Whats your Niche? (Jun 10th, 2008)
|
|
#3
|
||||
|
||||
|
Re: Os Detection
Look up user agents.
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
|
|
#4
|
|||
|
|||
|
Re: Os Detection
|
|
#5
|
|||
|
|||
|
Re: Os Detection
Hi Simon,
You could try something like this in JavaScrict:
|
|
#6
|
|||
|
|||
|
Re: Os Detection
This is what you are looking for, The Perfect Solution!
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
|
|
#7
|
|||
|
|||
|
Re: Os Detection
i don't have asp. Php html
__________________
The Net is Dying | We are Battlefield heroes - BFH Forum Vanilla Source - Vanilla Help, and mods
Last Blog Entry: Whats your Niche? (Jun 10th, 2008)
|
|
#8
|
|||
|
|||
|
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)
|
|
#9
|
||||
|
||||
|
Re: Os Detection
__________________
WelshStew If you think I've helped, click the "Thanks" tierney rides tboard - uk site | xtreme wales - extreme clothing WebForumz - facebook | LinkedIn
Last Blog Entry: Phorm approved for UK rollout (Sep 17th, 2008)
|
|
#10
|
|||
|
|||
|
Re: Os Detection
__________________
The Net is Dying | We are Battlefield heroes - BFH Forum Vanilla Source - Vanilla Help, and mods
Last Blog Entry: Whats your Niche? (Jun 10th, 2008)
|
|
#11
|
||||
|
||||
|
Re: Os Detection
Someone move this to PHP section?
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
|
|
#12
|
|||
|
|||
|
Re: Os Detection
How come it looks simple in php compare to asp?
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
|
|
#13
|
|||
|
|||
|
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)
|
|
#14
|
|||
|
|||
|
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 ;] |
|
#15
|
|||
|
|||
|
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)
|
|
#16
|
|||
|
|||
|
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 | We are Battlefield heroes - BFH Forum Vanilla Source - Vanilla Help, and mods
Last Blog Entry: Whats your Niche? (Jun 10th, 2008)
|
|
#17
|
|||
|
|||
|
Re: [SOLVED] Os Detection
I am not ready for Vista
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
|