ouweouwe meuk log

meuk, meuk, bende, meuk and once in a while something useful

Archive for the ‘php’ Category

Mobile browser detect

without comments

Found this nice scipt that can detect mobile visitors and its main function is to answer the question:

Is this visitor to my website using a mobile phone or PC?

Check it out at: http://detectmobilebrowsers.mobi/

Written by dexmans

December 8th, 2009 at 11:40 am

multi php lint

without comments

PHP lint (php -l) only allows you to check 1 file at a time, Martijn shared this little command that loops through a given directory and check the syntax of any .php file.

$ find path/to/files -maxdepth 0 -type f -name \*.php -exec php -l {} \;

Thx to Martijn.

Written by dexmans

August 14th, 2009 at 2:16 pm

Posted in other,php,tech

Tagged with , , ,