954,585 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

monitor size

is there a way that php find out monitor size?

web3
Junior Poster in Training
75 posts since Oct 2009
Reputation Points: 10
Solved Threads: 1
 

$HTTP_COOKIE_VARS["users_resolution"]

See http://www.wallpaperama.com/forums/php-tutorial-guide-how-to-show-screen-resolution-find-display-script-t517.html .

I don't think this can deal with resize events - javascript/ajax would probably be required for this.

diafol
Rhod Gilbert Fan (ardav)
Moderator
7,792 posts since Oct 2006
Reputation Points: 1,170
Solved Threads: 1,080
 

$HTTP_COOKIE_VARS["users_resolution"]

See http://www.wallpaperama.com/forums/php-tutorial-guide-how-to-show-screen-resolution-find-display-script-t517.html .

I don't think this can deal with resize events - javascript/ajax would probably be required for this.


Don't use HTTP_COOKIE_VARS, use _COOKIE http://php.net/$_COOKIE

ShawnCplus
Code Monkey
Team Colleague
1,583 posts since Apr 2005
Reputation Points: 526
Solved Threads: 268
 

Yeah, right enough.

diafol
Rhod Gilbert Fan (ardav)
Moderator
7,792 posts since Oct 2006
Reputation Points: 1,170
Solved Threads: 1,080
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You