TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 11-05-2009, 12:26 AM   #1 (permalink)
is cute and cuddly
 
delayedinsanity's Avatar
 
Join Date: Mar 2008
Location: Vegas, Baby
Posts: 963
Thanks: 31
delayedinsanity is on a distinguished road
Default User Agent Parsing

http://user-agent-string.info/

Snazzy little resource right there, even though the download for it is very poorly written PHP (which makes one worry a little about the backend).

I was considering bundling this in with a statistics plugin for Wordpress that I maintain, however I'm worried about the additional overhead/access time that it may add. One of the key features of my plugin is how fast it is, and I don't want to lose that.

I'd use Browscap, but for some reason that I can't fathom, the PHP developers decided to make the browscap ini setting system only. Meaning I can't just bundle browscap.ini with the plugin and point the script to it with ini_set() and then use get_browser() like I should be doing. This is a huge wtf, but also something that I can't change, so I'm looking for alternatives.

Does anybody know of a fast user-agent parser that runs off one of these aggregate lists? My built-in list is rather pathetic with it's few hundred rows compared to their 10 thousand+ known user agents.
delayedinsanity is offline  
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
apache user cannot execute useradd via sudo shanto19 Advanced PHP Programming 1 11-12-2012 07:41 AM
Easy to Modify Login Script with Hierarchical User Permissions and XML Account File Wildhoney Script Giveaway 4 05-04-2011 06:11 AM
Zend Acl on individual user? kokjj87 Advanced PHP Programming 0 02-13-2009 03:19 PM
Need help with a User class maZtah General 10 01-13-2009 07:02 PM
User profile page h0ly lag General 2 05-08-2008 08:53 PM


All times are GMT. The time now is 07:04 AM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design