You can blend the two... sort of.
<script language="javascript">
<!-- hide me
function checkWidth() {
var width = screen.width;
var height = screen.height;
document.location = "filename.php?width=" + width + "&height=" + height;
}
//-->
</script>
<body onload="checkWidth();">
I'm not aware of any PHP vars that hold screen information.
HTH
Martin
>>> "Seppo Laukkanen" <[EMAIL PROTECTED]> 07/17/02 03:06PM >>>
Can anybody help?
I have javascript code to find out browsers width and height, but they
are stored in javascript variables. How can I access them from PHP? Or
is there a method to do same in PHP straightly?
Thanks,
Seppo
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php