General Programming Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 



Go Back   Dev Articles Community ForumsProgrammingGeneral Programming Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old November 18th, 2002, 01:00 AM
Taelo Taelo is offline
5B's
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Oct 2002
Location: PC, FL
Posts: 366 Taelo User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 30 m 59 sec
Reputation Power: 17
$HTTP_USER_AGENT and get_browser()

Does anyone have an array of all the OS Types and Browser Types?

I found this on the php.net site, but the list is incomplete.

PHP Code:
 $so $_SERVER['HTTP_USER_AGENT'];
$windowsxp preg_match("/windows nt 5.1/i"$so);
$windowsxp2 preg_match("/windows xp/i"$so);
$linux preg_match("/linux/i"$so);
$windowsme preg_match("/win 9x 4.90/i"$so);
$windowsme2 preg_match("/windows me/i"$so);
$windows2k preg_match("/windows nt 5.0/i"$so);
$windows2kb preg_match("/windows 2000/i"$so);
$windowsnt preg_match("/windows nt 3.1/i"$so);
$windowsnt2 preg_match("/windows nt 3.5.0/i"$so);
$windowsnt3 preg_match("/windows nt 3.5.1/i"$so);
$windowsnt4 preg_match("/windows nt 4.0/i"$so);
$windows98 preg_match("/windows 98/i"$so);
$windows95 preg_match("/windows 95/i"$so); 



Does anyone have a listing of the Browser Types and OS Types with the Reg Ex already done up?

Reply With Quote
  #2  
Old November 18th, 2002, 10:56 AM
jpenn jpenn is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Oct 2002
Location: Washington, DC
Posts: 317 jpenn User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 m 3 sec
Reputation Power: 17
That list isn't even a scratch of all the user agent strings. Click here -> http://www.pgts.com.au/pgtsj/pgtsj0208c.html
__________________
~ Joe Penn

We work for free to help make this a valuable resource on the internet. Do you appreciate the help - did we provide help that will help you prosper and help that has contributed to sharpening your current skill set?

Show your appreciation and purchase something from our Amazon Wishlist's - it's simple and a great way to say thank you.




Reply With Quote
  #3  
Old November 19th, 2002, 12:03 AM
Taelo Taelo is offline
5B's
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Oct 2002
Location: PC, FL
Posts: 366 Taelo User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 30 m 59 sec
Reputation Power: 17
I knew this list was not complete,...but holy ****balls,....didn't know there were/are that many

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingGeneral Programming Help > $HTTP_USER_AGENT and get_browser()


Developer Shed Advertisers and Affiliates


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.

© 2003-2018 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap