PHP Browser Detection Issue
random1
Status: New User - Welcome
Joined: 11 Feb 2008
Posts: 2
Reply Quote
I am using the original latest script from: techpatterns.com/downloads/php_browser_detection.php
"Full Featured PHP Browser Detection & OS Detection".

I have 90% of it working but I have 2 main issues:

1) Detection of Netscape browser version and name
2) Detection of Safari version (not build)

I have an image here: img45.imagevenue.com/img.php?image=95724_screenshot_122_15lo.jpg

It shows it in Firefox, Netscape, Internet Explorer, Safari and Opera.

Help is much appreciated.
Back to top
jeffd
Status: Assistant
Joined: 04 Oct 2003
Posts: 594
Reply Quote
Netscape browser no longer exists as a real separate entity.

Please post the full user agent strings for all of them though.

But I know netscape stopped doing real releases last year or so, and the new one is actually literally only firefox with netscape text on it.

Safari I'd need to see the string of, but traditionally, it's the build that mattered not numbers.

You test for functionality, and the functionality depended on that number, but I haven't seen a new safari windows string so let's take a look to see.

But php browser detection is about functionality more, that's why the gecko string is actually the primary id for real in firefox/mozilla/netscape.
Back to top
Thanks
random1
Status: New User - Welcome
Joined: 11 Feb 2008
Posts: 2
Reply Quote
Thanks for the clarity :D
Back to top
Display posts from previous:   

All times are GMT - 8 Hours