RE: [PHP] Screen Size detect??

From: Date: Sat, 01 Feb 2003 16:24:41 +0000
Subject: RE: [PHP] Screen Size detect??
Groups: php.general 
Request: Send a blank email to php-general+get-133890@lists.php.net to get a copy of this message
On a slight side note to this, how can you pass javascript variables to PHP via POST? Newbie Powell On Saturday, February 1, 2003, at 12:21 PM, php-general-digest-help@lists.php.net wrote:
From: "Sean Malloy" <sean@element.net.au> Date: Sat Feb 1, 2003 6:48:26 AM Europe/London To: "Dade Register" <dade49@yahoo.com>, <php-general@lists.php.net> Subject: RE: [PHP] Screen Size detect?? 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


« previous php.general (#133890) next »