Roel Derckx wrote: > 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.
You must use JavaScript for browser info. Just send browser resolution as GET vars using JavaScript. (i.e. use query string) -- Yasuo Ohgaki -- 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]