Re: Re: get_browser() too slow

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2008/12/22 Martin Zvarík <mzvarik@xxxxxxxxx>

> Martin Zvarík napsal(a):
>
>> Hello,
>> anyone has a good function for getting a user's browser, OS and crawler
>> detection ?
>>
>> I have looked at google etc, but I ran only into long list of ineffective
>> ereg()s functions or not checking if it's crawler...
>>
>> Is it possible to make an array list and just check using strpos() each
>> one?
>> The basic browsers for Win, Mac, and Linux - others would be unknown.
>> And then only to check for OS.
>>
>> I tryed get_browser() but that thing is way too slow for my needs: 0.09
>> sec.
>>
>> Thanks in advance,
>> Martin
>>
>
> Hmm... This one is decent:
> http://techpatterns.com/downloads/scripts/browser_detection_php_ar.txt


theres something akin to this in code igniter, though more than likely, its
not as feature rich.

-nathan

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux