<?php
bunch of php code here
<script Language="JavaScript">
<!--
var URL = "http://www.mysite.com"
var speed = 3000
function reload(){
location = URL
}
setTimeout("reload()",speed);
//-->
</script>
<p><strong>Redirecting in 3 seconds <br />
Click <a href="http://www.mysite.com">here</a> if you would not like to wait </strong></p>
<p> </p>
<?php
}
?>