Re: [PHP] Screen Size detect??

2003-02-01 Thread Martin
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

RE: [PHP] Screen Size detect??

2003-02-01 Thread Sean Malloy
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

RE: [PHP] Screen Size detect??

2003-02-01 Thread Nigel Powell
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

RE: [PHP] Screen Size detect??

2003-01-31 Thread Sean Malloy
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]]

Re: [PHP] Screen Size detect??

2003-01-31 Thread Maxim Maletsky
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

Re: [PHP] Screen Size detect??

2003-01-31 Thread Maxim Maletsky
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

RE: [PHP] Screen Size?

2001-02-27 Thread Jon Haworth
To: PHP Subject: RE: [PHP] Screen Size? > How do you determine a user's screen size (resolution)? Isn't there a > variable/function for this? I doubt you could do this in PHP, since your browser doesn't normally include screen size information in the headers it sends across

RE: [PHP] Screen Size?

2001-02-26 Thread Todd Kerpelman
> How do you determine a user's screen size (resolution)? Isn't there a > variable/function for this? I doubt you could do this in PHP, since your browser doesn't normally include screen size information in the headers it sends across to web servers. However, JavaScript can do this -- there's a