Alright, I know that you can't use PHP to determine a client's screen resolution.
But my question is, is there anyway to get the resolution using JavaScript and then put that value into a PHP variable?
I've tried this:
$screenres = print ("
<BODY>
<SCRIPT LANGUAGE='JavaScript'>
<!-- Begin
document.write(screen.width,screen.height);
</script>");
echo "$screenres";
It displays the screen resolution once on the screen, so the resolution isn't being put into $screenres.
The reason I want to do this is because I want to load different pages based on the client's resolution.
Anyone know if this is possible?