LAPTOP i7
Pages
Home
Saturday, July 1, 2017
Detect the browser resolution by php and js
Detect the browser resolution by php and js
Code:
if(!isset($_GET[r])) { echo "";
}
else {
// Code to be displayed if resolutoin is detected
if(isset($_GET[width]) && isset($_GET[Height])) {
// Resolution detected
}
else {
// Resolution not detected
}
}
?>
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.