I would like to know how to check if a user is connecting from a computer, or from a Phone. I'm using Symfony(Latest) and of course PhpPoo. I tried to use PHP_OS, but there is too much choice, and "home-made function" are not optimized.
The fact is that if the user is conneting to my website from a computer, i won't be able to access to it, but if it's from a mobile phone, i will be able.
Thanks :)