Re: Finding Screen Size

From: Date: Mon, 19 Apr 2004 20:53:48 +0000
Subject: Re: Finding Screen Size
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-183868@lists.php.net to get a copy of this message
I know it's easy to find the screen res of a user from javascript- but I want to let my PHP script know what the resolution is. Is this possible? I would like the easiest way possible- I'd rather not resort to sessions/cookies. Is there a way to make a variable available to PHP? I find the get_browser function really useful for the browser info but it doesn't tell me the res.
This comes up occasionally here so you can check the archives for different solutions. But the basic answer is that you CANNOT use PHP to find the screen size. You must use JavaScript and then pass these values to PHP using cookies, forms, etc. Larry

« previous php.general (#183868) next »