I need to find the screen resolution of a users screen who visits my website?
This is a very simple process. Yes, you cannot get the width and height in PHP. It is true that JQuery can provide the screen's width and height. First go to https://github.com/carhartl/jquery-cookie and get jquery.cookie.js. Here is example using php to get the screen width and height:
Test
Using jquery.cookie.js to store screen height and width
";}
if(isset($_COOKIE['sh'])) { echo "Screen height: ".$_COOKIE['sh']."
";}
?>
I have a test that you can execute: http://rw-wrd.net/test.php