Hi Michael
das festellen geschieht hierüber:
<?
$js++;
if ($js<2)
{
echo '
<script type="text/javascript">
<!--
window.location.href="frameseite.php?js='.$js.'&nochnevariable='.$nochnevariable.'";
//-->
</script>
';
}
?>
</head>
<?
if ($js==2)
{ ... }
die php variable wird nur hochgezählt wenn window.location.href funktioniert hat.
mfg Andreas