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:[EMAIL PROTECTED]] Sent: Sunday, December 09, 2001 5:44 PM To: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]