Re: how do i get the browser's screen resolution?
| From: | Yasuo Ohgaki | Date: | Mon, 10 Dec 2001 00:29:27 +0000 |
| Subject: | Re: how do i get the browser's screen resolution? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-77385@lists.php.net to get a copy of this message | ||
Roel Derckx wrote:
Hi I'm working on a large portal-like php/html site with some large graphics. The original design is for 1024x768 and up, but i also want it to be well viewable under 800x600 so parts of the design have to be resized for that. BUT, i can't seem to get that kind of information from within PHP. I found a way around (check it with Javascript and store it as a cookie), but that's not working fine for me. Can someone tell me: - how do i get the browser's screen resolution returned in a variable? OR - how can i read Javascript variables under PHP? Help please.You must use JavaScript for browser info. Just send browser resolution as GET vars using JavaScript. (i.e. use query string) -- Yasuo Ohgaki