Can't be done...

1) Browser sends request
2) PHP page is compiled and executed
3) PHP output is sent to browser
4) Browser displays page/executes javascript/etc.

-----Original Message-----
From: Salty Marine [mailto:[EMAIL PROTECTED]] 
Sent: Sunday, September 16, 2001 3:54 PM
Subject: [PHP] Getting screen resolution and color depth

Greetings to You:

How do I get the user's screen resolution and color depth?  Here's how
it is done in Javascript.  I want to do it and put the results into a
PHP varibal.

<Script>document.write(screen.width + " x " + screen.height)</script>
<Script>document.write(screen.colorDepth + " bit")</script>


PHP General Mailing List (
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to