Re: get a screen resolution
| From: | Justin Farnsworth | Date: | Fri, 06 Jul 2001 11:30:09 +0000 |
| Subject: | Re: get a screen resolution | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-56485@lists.php.net to get a copy of this message | ||
Marc van Duivenvoorde wrote:
>
> I know I can do it with javascript, but if possible I'd like to do it with php.
-----------------
Then have PHP write out the necessary javascript. There is, obviously,
no way for PHP, on the server side, to know what the screen resolution
is of a client, until that client returns its screen resolution to
the server/PHP for PHP to use.
So, as previously stated by many, use javascript to find out
and send back on the round trip for PHP/you to use however you
wish.
_jef
--
Justin Farnsworth
Eye Integrated Communications
321 South Evans - Suite 203
Greenville, NC 27858 | Tel: (252) 353-0722