RE: [PHP] get a screen resolution

2001-07-06 Thread SED

While we are talking about JavaScript, do you know of any postlist like
this one I can subscribe to? I have been looking for it but not found
any (I know of lot of websites but without this).

Regards,
Sumarlidi Einar Dadason

SED - Graphic Design

--
Phone:   (+354) 4615501
Mobile:  (+354) 8960376
Fax: (+354) 4615503
E-mail:  [EMAIL PROTECTED]
Homepage:www.sed.is
--

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Justin Farnsworth
Sent: 6. júlí 2001 11:30
To: Marc van Duivenvoorde
Cc: Php general lijst
Subject: Re: [PHP] get a screen resolution


Marc van Duivenvoorde wrote:
> 
> I know I can do it with javascript, but if possible I'd like to do it
> with php.
-
Then have PHP write out the necessary javascript.  There is, obviously,
no way for PHP, on the server side, to know what the screen resolution
is of a client, until that client returns its screen resolution to the
server/PHP for PHP to use.

So, as previously stated by many, use javascript to find out and send
back on the round trip for PHP/you to use however you wish.

_jef
-- 
Justin Farnsworth
Eye Integrated Communications
321 South Evans - Suite 203
Greenville, NC 27858 | Tel: (252) 353-0722

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED] To
contact the list administrators, e-mail: [EMAIL PROTECTED]


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] get a screen resolution

2001-07-06 Thread Justin Farnsworth

Marc van Duivenvoorde wrote:
> 
> I know I can do it with javascript, but if possible I'd like to do it with php.
-
Then have PHP write out the necessary javascript.  There is, obviously,
no way for PHP, on the server side, to know what the screen resolution
is of a client, until that client returns its screen resolution to
the server/PHP for PHP to use.

So, as previously stated by many, use javascript to find out
and send back on the round trip for PHP/you to use however you
wish.

_jef
-- 
Justin Farnsworth
Eye Integrated Communications
321 South Evans - Suite 203
Greenville, NC 27858 | Tel: (252) 353-0722

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] get a screen resolution

2001-07-06 Thread Tom Carter

The browser detection etc. capabilities all come from the HTTP_USER_AGENT
variable.. from this it is possible to interpret browser, platform and a
number of other things. Unfortunately screen resolution is not one of these.
PHP itself has no way of detecting anything about the client, only what it
is told (if that makes any sense)

The only possibility is for JavaScript to "tell" PHP about it..ie.. when a
link within the site is pressed (say from a splash screen or a login box)
then have javascript append on the resolution to the redirect url, from
which php will then know

HTH,Tom
- Original Message -
From: "Marc van Duivenvoorde" <[EMAIL PROTECTED]>
To: "Php general lijst" <[EMAIL PROTECTED]>
Sent: Friday, July 06, 2001 12:24 PM
Subject: RE: [PHP] get a screen resolution


> I know I can do it with javascript, but if possible I'd like to do it with
php.
>
> Marc van Duivenvoorde
>
> At 02:12 PM 7/6/2001 +0300, you wrote:
> >JavaScript
> >
> > > -Original Message-
> > > From: Marc van Duivenvoorde [mailto:[EMAIL PROTECTED]]
> > > Sent: 6 iulie 2001 14:18
> > > To: Php general lijst
> > > Subject: [PHP] get a screen resolution
> > >
> > >
> > > I'm trying to make a small browser and screen resolution
> > > script for my
> > > site, the browser part isn't a problem, but I can't find a
> > > function for
> > > screen resolutions, does anyone know whether such a function exists.
> > >
> > > Thanks,
> > >
> > > Marc van Duivenvoorde
> > >
> > >
> > > --
> > > PHP General Mailing List (http://www.php.net/)
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > To contact the list administrators, e-mail:
> > > [EMAIL PROTECTED]
> > >
> > >
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] get a screen resolution

2001-07-06 Thread Marc van Duivenvoorde

I know I can do it with javascript, but if possible I'd like to do it with php.

Marc van Duivenvoorde

At 02:12 PM 7/6/2001 +0300, you wrote:
>JavaScript
>
> > -Original Message-
> > From: Marc van Duivenvoorde [mailto:[EMAIL PROTECTED]]
> > Sent: 6 iulie 2001 14:18
> > To: Php general lijst
> > Subject: [PHP] get a screen resolution
> >
> >
> > I'm trying to make a small browser and screen resolution
> > script for my
> > site, the browser part isn't a problem, but I can't find a
> > function for
> > screen resolutions, does anyone know whether such a function exists.
> >
> > Thanks,
> >
> > Marc van Duivenvoorde
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail:
> > [EMAIL PROTECTED]
> >
> >


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] get a screen resolution

2001-07-06 Thread Nick Davies


I think you have to do it with javascript (being client side). But thats
all i know. ;)

On Fri, 6 Jul 2001, Marc van Duivenvoorde wrote:

> I'm trying to make a small browser and screen resolution script for my 
> site, the browser part isn't a problem, but I can't find a function for 
> screen resolutions, does anyone know whether such a function exists.
> 
> Thanks,
> 
> Marc van Duivenvoorde
> 
> 
> 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] get a screen resolution

2001-07-06 Thread Marc van Duivenvoorde

I'm trying to make a small browser and screen resolution script for my 
site, the browser part isn't a problem, but I can't find a function for 
screen resolutions, does anyone know whether such a function exists.

Thanks,

Marc van Duivenvoorde


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]