Hi,
I have this code, but it is not working :
a file "test.html" containing :
<html>
<script language="javascript">
imain.location = "showparams.php?param1=hello";
</script>
<iframe src="showparams.php" id="imain"></iframe>
</html>
a file "showparams.php" containing :
<?php
echo "<h1>Parameters received:</h1>";
echo "Param1 : ".$_GET['param1']." //";
?>
When I call http://myserver/test.html, the value of param1 is not passed ( it is empty )
When I call http://myserver/showparams.php?param1=hello, then the value of param1 in the php file is OK !
I use Firefox 2 ( or IE6 ) with Apache2/PHP5 server.
Many thanks for your help !