Lesson Code: http://www.developphp.com/video/PHP/Browser-and-Operating-System-Detect-Array-Script
Learn how to program arrays in PHP at a basic enough level to make an efficient user agent sniff script. We use a foreach loop to run the evaluation needed for finding a match in the user agent string. Adam is using Notepad++ for code editing in this video.
How to put my user agent php in my website
why are you using an associative array? it would also work with a normal array and an ordinary for-Loop.
Thanks a lot for this
actually, it's notepad++
Very similar to ROBLOX scripting. I bet I can do this.
@winfr34k its in the notepad settings you idiot.
@connormcwood2 The color scheme is completely different. He customized it, smartass!
@winfr34k save the file as a .php and it will autmaticly do it
Thank you, Adam