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, [EMAIL PROTECTED] wrote:

From: "Sean Malloy" <[EMAIL PROTECTED]>
Date: Sat Feb 1, 2003  6:48:26 AM Europe/London
To: "Dade Register" <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>
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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to