We are using next construction of php scripts:
test.php
<?
$fo=fopen("test","r");
$a=fread($fo,255);
echo $a."<br>";
fclose($fo);
?>
<form action="process.php" method="post">
<input type="submit">
</form>
?>
---------------------------------------
process.php
<?
$fo=fopen("test","r");
$a=fread($fo,255);
fclose($fo);
$fo=fopen("test","w");
$a++;
fwrite($fo,$a);
fclose($fo);
include("restart.php");
?>
-------------------------------------------------
restart.php
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>Restart with new conditions</TITLE>
<script language="JavaScript1.2">
<!--
function onLoad(mlink) {
document.location = mlink;
}
//--></script>
</head>
<body>
<script language="JavaScript1.2">
<!--//For IEif (document.all) { onLoad('test.php'); }
//-->
</script>
</body>
-------------------------------
When we use such construction Internet Explorer (IE) 5.0 does not refresh the content of the page. We have to click refresh button to force it
to refresh. There is not such problem with IE 5.5 or Netscape of any version.
Is there any way to avoid this problem for IE 5.0? Note that we have to use such construction.
Peter