ED]>
> > 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;
> >
> >
> > var width
ll [mailto:[EMAIL PROTECTED]]
Sent: Sunday, 2 February 2003 3:25 AM
To: [EMAIL PROTECTED]
Subject: RE: [PHP] Screen Size detect??
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] wrot
ade Register" <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>
Subject: RE: [PHP] Screen Size detect??
Create index.htm;
var width = screen.width;
var height = screen.height;
window.location = 'index.php?width=' + width + '&height=' + height;
and in index.php
Create index.htm;
var width = screen.width;
var height = screen.height;
window.location = 'index.php?width=' + width + '&height=' + height;
and in index.php
$width = $_GET['width'];
$height = $_GET['height'];
etc etc
-Original Message-
From: Dade Register [mailto:[EMAIL PROTECTED]]
On Sat, 01 Feb 2003 18:44:19 +0100 Maxim Maletsky <[EMAIL PROTECTED]> wrote:
> There is no way to do that with PHP.
>
> PHP/JavaScript rule #1:
>
> PHP = Client Side
> JS = Server Side
Geez I mean viceversa :) In Stalin's times I'd get killed for
certain mistakes :)
--
Maxi
There is no way to do that with PHP.
PHP/JavaScript rule #1:
PHP = Client Side
JS = Server Side
Obviously, client's browser is Client Side and PHP, which is Server Side,
cannot be used for detecting Client's properties on page request (page
wasn't prepared by PHP yet to activat
6 matches
Mail list logo