PHP Function to Check Proper User Agent for Mobile / Tablet Devices (server-side Method) 10 years ago