[EMAIL PROTECTED] wrote:

how is it possible to send a jscript variable to php thats impossible

It would look something like this (unfinished, using comments instead of real code in a few places:

<?php
if(!isset($_GET['height'])){
?>
<script type="text/javascript">
<!--
var height = //resolution height
var width = //resolution width
document.location.href = document.location.href + "?height=" + height + "&width=" + width;
-->
</script>
<?php
}else{
echo 'Your resolution is ', $_GET['height'], 'x', $_GET['width'], '.';
}
?>


--
The above message is encrypted with double rot13 encoding.  Any unauthorized attempt 
to decrypt it will be prosecuted to the full extent of the law.



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to