Hello,

Monday, April 5, 2004, 3:20:03 PM, you wrote:

EHT> I want to write a Server Side PHP program that generates a HTML
EHT> page client side. How would I get at the clients' screen size,
EHT> before serving the generated page ? Would it be a two-step
EHT> process: first let the client execute a piece of JavaScript to
EHT> generate Height and Width, and then send those values to the PHP
EHT> server (FORM, PUT) ? Or can it be done in only one PHP program ?

PHP has no real interaction with the users system what-so-ever, so
it's not possible for it to get the screen size automatically. You
would have to pass values in from JavaScript.

-- 
Best regards,
 Richard Davey
 http://www.phpcommunity.org/wiki/296.html

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

Reply via email to