Re: Screen resolution in php
| From: | Jim Plush | Date: | Tue, 15 Mar 2005 15:17:23 +0000 |
| Subject: | Re: Screen resolution in php | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-210791@lists.php.net to get a copy of this message | ||
you can get the resolution from javascript then pass that info to php using HTTP REQUEST http://jibbering.com/2002/4/httprequest.html
or super low budget way could be to get that information from javascript then right after forward the page using javascript with the resolution variable in the query string IE &res=jsvar
virtualsoftware@gmail.com wrote:
Hi, How can i get the screen resolutin in php. I've read that i can't this. With java i can do this. <SCRIPT LANGUAGE="JavaScript"> document.write("Your Screen Resolution Is : "); document.write(screen.width + " x " + screen.height); </script> My question is how can pass the screen resolution from java to a variable? It is a better way? Any help would be appreciated! Thanks