PHP & JavaScript
| From: | BQ777 | Date: | Thu, 23 Oct 2003 00:32:11 +0000 |
| Subject: | PHP & JavaScript | ||
| Groups: | php.general php.windows | ||
| Request: | Send a blank email to php-general+get-167206@lists.php.net to get a copy of this message | ||
Hi everybody!
Have somebody any idea how I could do something like that?
<?
settype($phpScreenWidth, "string");
settype($phpScreenHeight, "string");
?>
<script language="javascript">
var phpScreenWidth, phpScreenHight;
phpScreenWidth = screen.width;
phpScreenHeight = screen.height;
</script>
<?
echo "Width:|".$phpScreenWidth."|<br>";
echo "Height:|".$phpScreenHeight."|<br>";
?>
I know that this code is not working, it is just to see what I want to
do.
If somebody know a solution, like this, then please let me know.
greetZ
CBQ