Re: can I get at screen size ?

From: Date: Mon, 05 Apr 2004 14:26:10 +0000
Subject: Re: can I get at screen size ?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-182367@lists.php.net to get a copy of this message
E.H.Terwiel wrote:
I want to write a Server Side PHP program that generates a HTML page client side. How would I get at the clients' screen size, before serving the generated page ? Would it be a two-step process: first let the client execute a piece of JavaScript to generate Height and Width, and then send those values to the PHP server (FORM, PUT) ? Or can it be done in only one PHP program ? frgr Erik
You can't grab the screen size with php. You'll have to do it with JavaScript, and pass the values.

« previous php.general (#182367) next »