Overview: In this article we will discuss how to get the users screen resolution.
$screen_res = $HTTP_COOKIE_VARS["users_resolution"];
It's really simple I will show you the code
screen.width; //gives you the screen width
screen.height; //gives you the screen height
||Editor: PHPbuddy also uses the same kind of code to send optimized content for different resolutions if you are at 800*600 or lower resolution set your resolution to 1024*768 and check PHPbuddy! (Be sure to reload the site after you change your resolution)
(c) 2002 - 2018 www.PHPbuddy.com Unauthorized reproduction/replication of any part of this site is prohibited.