RE: [PHP] how do i get the browser's screen resolution?

From: Date: Sat, 10 Nov 2001 05:37:06 +0000
Subject: RE: [PHP] how do i get the browser's screen resolution?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-77180@lists.php.net to get a copy of this message
Can you hide it in a hidden form element ? or pass it as a variable in the URL like http://myurl?screen_size=<screen size> ? -----Original Message----- From: Roel Derckx [mailto:ths@ambience.nl] Sent: Sunday, December 09, 2001 5:44 PM To: php-general@lists.php.net Subject: [PHP] how do i get the browser's screen resolution? Hi I'm working on a large portal-like php/html site with some large graphics. The original design is for 1024x768 and up, but i also want it to be well viewable under 800x600 so parts of the design have to be resized for that. BUT, i can't seem to get that kind of information from within PHP. I found a way around (check it with Javascript and store it as a cookie), but that's not working fine for me. Can someone tell me: - how do i get the browser's screen resolution returned in a variable? OR - how can i read Javascript variables under PHP? Help please. Regards, Roel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#77180) next »