• Home
  • Reviews
  • Articles
  • News
  • Tools
  • GamingHeaven
  • Forums
  • Network
 

Go Back   DriverHeaven.net > Forums > Software / Tools > Programming, Coding, (Web)Design

Notices

Reply
 
LinkBack Thread Tools
Old Aug 14, 2002, 08:25 PM   #1
A Legend in Underwear
 
UberLord's Avatar
 
Join Date: May 2002
Location: Unknown
Posts: 5,256
UberLord is on a distinguished road

Default Post PHP UserAgent detection

I've posted my PHP code that detects browser and platform.
I've tested in on every browser/platform that I and my friends have - which is a fair bit.

But there's code to test for obscure browsers and platforms which may work but I haven't tested. However, I did look to see how some similar code worked and implemented similar stuff.

It's licenced under the LPGL, so feel free to use it however you want.

Download it from here

The zip contains 2 files.

ua.php - the detection code
browserosinfo.php - a sample page that demonstrates how to use it.

Requirements
PHP 4.x

Notes
Must be run against a webserver - it won't work simply opening the file in a browser (but hey - you already knew that )

Enjoy guys
UberLord is offline   Reply With Quote
Old Aug 15, 2002, 01:28 AM   #2
BSD SMASH!
 
Malus's Avatar
 
Join Date: May 2002
Location: A rabbit hole. . .
Posts: 1,169
Malus is on a distinguished road

Default Post



I'll try this out when I get the chance.
Malus is offline   Reply With Quote
 

 
Powered by: vBulletin
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Artwork by Allan 'Zardon' Campbell, vBulletin implementation by Craig '5320' Humphreys based on original artwork by Ratchet.

All times are GMT -5. The time now is 02:33 PM. Copyright ©2008 HeavenMedia.net