Ralph Freshour wrote:
Is there a way I can get the screen resolution using PHP? I want to
set some parameters depending upon whether the user's screen is 800
wide or 1024 wide.
Thanks...
You have to use javascript to retreive that and send it back to your
server. You could make an intermediate redirecting page that gathers
the information, then forwards the user to the main site with the screen
resolution information attached to the url in the query string.
<script type="text/javascript">
window.location.href='realindex.php?scrh='+screen. height+'&scrw='+screen.width;
</script>
--
http://kicken.mine.nu:8008/ - Personal Site
http://wiser.kicks-ass.org:8008/ - Long-term Project
Keith Maika