iframe.php içine:
<?php
$id = $_GET["id"];

if ($id == "" or $id < 10) {
$id = "10";
}

if ($id < 100) {
$id++;
echo "<meta http-equiv=\"refresh\" content=\"1;URL=iframe.php?id=$id\">";
}
else {
echo "işlem tamam";
}
?>