RE: [PHP] Screen Size detect??
| From: | Sean Malloy | Date: | Sat, 01 Feb 2003 06:48:26 +0000 |
| Subject: | RE: [PHP] Screen Size detect?? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-133856@lists.php.net to get a copy of this message | ||
Create index.htm;
<script language="JavaScript">
var width = screen.width;
var height = screen.height;
window.location = 'index.php?width=' + width + '&height=' + height;
</script>
and in index.php
$width = $_GET['width'];
$height = $_GET['height'];
etc etc
-----Original Message-----
From: Dade Register [mailto:dade49@yahoo.com]
Sent: Saturday, 1 February 2003 3:48 PM
To: php-general@lists.php.net
Subject: [PHP] Screen Size detect??
I'm trying to detect the screen size of any client
browser, or at least IE. Is there a php function that
can do this? If not, does anyone have any ideas on a
JS that would work too? Plz help. Thanx.
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php