I need to find the screen resolution of a users screen who visits my website?
Directly with PHP is not possible but...
I write this simple code to save screen resolution on a PHP session to use on a image gallery.
window.location = "' . $_SERVER['PHP_SELF'] . '?width="+screen.width+"&height="+screen.height;'; } ?>