I've seen screen res params on PWS, no such thing in Apache though, so a bit of javascript seems to be the outright answer....
try this test: (paste into a new php file and run, works in netscape, haven't tested on ie)
Note: gets size of screen, not browser window
<form name=getres method=post action=<?echo $PHP_SELF?>>
<input type=hidden name=resX value='<?echo $resX?>'>
<input type=hidden name=resY value='<?echo $resY?>'>
<input type=hidden name=gotres value=1>
</form>
<?if(!$gotres){?>
<SCRIPT Language=JavaScript>
document.forms['getres'].elements['resX'].value=screen.width;
document.forms['getres'].elements['resY'].value=screen.height;
document.forms['getres'].submit();
</SCRIPT>
<?}else{
echo'<P>Width:'.$resX.'</p>';
echo'<P>Height:'.$resY.'</p>';
}?>