PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I get different results for each.
Firefox: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:26.0) Gecko/20100101 Firefox/26.0
Chrome: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36
Safari: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_1) AppleWebKit/537.73.11 (KHTML, like Gecko) Version/7.0.1 Safari/537.73.11
I jsut rang this in a browser.php file - away from any other code.
And I get this:
[text]Mozilla/5.0 (Windows NT 6.3; WOW64; Trident/7.0; MASBJS; rv:11.0) like Gecko[/text]
In IE 10.
Love PHP. Love CSS. Love learning new tricks too.
All the best from the United Kingdom.
What i've done is add it a web site that gets a lot of traffic, to see what browsers are being used, but for some reason, although varied results (in the brakcets) they all show Mozilla/5.0. SO this isn't down to my machine.
Love PHP. Love CSS. Love learning new tricks too.
All the best from the United Kingdom.
OH hell I see what you mean, so that's why they all start with Mozilla.
I'm trying to conjour up a code that INSERTS to be database, "Firefox", Chrome" or whatever, but I don't think that's gona be possible. It would have to be that fill string.
Love PHP. Love CSS. Love learning new tricks too.
All the best from the United Kingdom.