Updated: PHP Code

Gary L. pointed out that there was a misspelling in the DetectMobileQuick() function in the PHP code. Unfortunately, the “DetectIpad()” had been spelled with the wrong capitalization. That error is now fixed & uploaded to the code repositories.

(I double checked the DetectMobileQuick() function in the other code libraries, and they all looked fine with the correct spelling.)

However, as Gary also pointed out, I’d accidentally put the year as 2010 in the date stamp at the top of the file. Oops! So I changed the year on the date stamp to 2011 and updated the versions for these code libraries: JavaScript, Java, ASP.NET (both versions).

Thanks, Gary!

Owner of the MobileESP project. For the latest source code downloads, visit: https://github.com/ahand/mobileesp

Posted in Code Updates
One comment on “Updated: PHP Code
  1. Ben Buchanan says:

    There’s a documentation/code mistmatch with the PHP; http://blog.mobileesp.com/?page_id=53 says GetUserAgent() but it’s Get_Uagent() in the PHP.

Leave a Reply

Your email address will not be published.