300+ free video programming tutorials ― Learn for free!

PHP Tutorial - #50 - Detecting a Visitors’ Browser

Category: PHP - Author: Karl Hadwen

Home > PHP > PHP Tutorial - #50 - Detecting a Visitors’ Browser

Did you find this video helpful? If so, why not subscribe!? ? http://bit.ly/CognitiveSurge

Now this is an incredibly important feature that I don't see used that often. Detecting a user's browser via PHP is so simple but not used as often as say a JavaScript implementation is used. The reason for this is because if we're using JavaScript to do this we're basically doing it in real-time as opposed to the back-end. We can't really modify a user's browser based on a condition we've come across in PHP; well we can but we'd have to use Ajax and there would be a small delay. I think this way is the most useful for tracking; for modifications, go ahead and use JavaScript.

Like the Cognitive Surge Facebook page
https://www.facebook.com/cognitivesurge

Follow me on Twitter (Feel free to tweet me questions!)
https://twitter.com/karlhadwen

Join the Cognitive Surge Subreddit
https://www.reddit.com/r/CognitiveSurge

Follow me on Instagram
https://instagram.com/karlhadwen

Follow me on Goodreads
https://goodreads.com/karlhadwen