random1
Status: New User - Welcome
Joined: 11 Feb 2008
Posts: 2
Back to top
Posted: Feb 11, 08, 21:58    PHP Browser Detection Issue
I am using the original latest script from: [link]
"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: [link]

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

Help is much appreciated.
jeffd
Status: Assistant
Joined: 04 Oct 2003
Posts: 583
Back to top
Posted: Feb 11, 08, 22:47    
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.
random1
Status: New User - Welcome
Joined: 11 Feb 2008
Posts: 2
Back to top
Posted: Feb 12, 08, 21:42    Thanks
Thanks for the clarity :D
Display posts from previous:   

All times are GMT - 8 Hours