Aug 30
Identify the user’s browser and display it to them. Obviously the versatility is up to you, depending on how many browsers you wish to be able to identify.
Duration : 0:6:41
[youtube uvjaHbHw9r4]
ID Office Products
11 Responses to “PHP Tutorials: Browser Identification”
Leave a Reply
You must be logged in to post a comment.












August 30th, 2009 at 11:46 am
=== needs to match …
=== needs to match the type aswell…
FALSE === 0
is untrue
they was in the video, if the name of the browser was the first thing in the $pre string it would not work
August 30th, 2009 at 11:46 am
no
if somethign is …
no
if somethign is == to it then == 0 would check to see if the vlaue ‘0′ is there.
where as = 0 means false, and = 1 is true
August 30th, 2009 at 11:46 am
it should be
if ( …
it should be
if (strpos($pre, ‘Firefox’) !== FALSE){
// blah blah
}
what if the browser name was the first thing…
August 30th, 2009 at 11:46 am
Hey, alex . You can …
Hey, alex . You can make a tutorial about str_replace() php function
August 30th, 2009 at 11:46 am
hey how about a tut …
hey how about a tut on how to add a downloading feature for a website???
it would be gr8….
August 30th, 2009 at 11:46 am
So our strpos …
So our strpos attribute would be “MSIE” and our browser variable would be “Internet Explorer”
Thanks bro
August 30th, 2009 at 11:46 am
Ah yes! Thanks for …
Ah yes! Thanks for pointing that out! I’m so useless with Internet Explorer, I hate it…
August 30th, 2009 at 11:46 am
MSIE is plainly …
MSIE is plainly visible…
(Microsoft Internet Explorer)
August 30th, 2009 at 11:46 am
Yay you are a …
Yay you are a YouTube partner =D
August 30th, 2009 at 11:46 am
You’re most welcome!
You’re most welcome!
August 30th, 2009 at 11:46 am
Thanks dude, really …
Thanks dude, really helpful.