I had this same problem, as I wanted to resolve whether or not the device was
a PDA. I couldn't see an easy way, but what I did was to have a dummy
JavaScript page that grabs the screen dimensions, and then forwards on to a
PHP page, with the screen size as the parameter. Something like:

        http://www.example.com/page2.php?width=800&height=600

Then you've got your details!

Cheers
Richard

-----Original Message-----
From: James Nunnerley [mailto:[EMAIL PROTECTED]
Sent: 30 March 2004 11:45
To: [EMAIL PROTECTED]
Subject: [PHP] Display/Screen Size Parameters


Is there a function within PHP that picks up the screen/display size?

I know of the one in JavaScript, however I want to pick it up in PHP....

Thanks
Nunners

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


==============================================================================
This message is for the sole use of the intended recipient. If you received
this message in error please delete it and notify us. If this message was
misdirected, CSFB does not waive any confidentiality or privilege. CSFB
retains and monitors electronic communications sent through its network.
Instructions transmitted over this system are not binding on CSFB until they
are confirmed by us. Message transmission is not guaranteed to be secure.
==============================================================================

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

Reply via email to