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:[EMAIL PROTECTED]] Sent: Saturday, 1 February 2003 3:48 PM To: [EMAIL PROTECTED] 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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php