On second thoughts, this one isn't quite solved yet. I have (so far) been using javascript to do the page redirect upon page load:
<SCRIPT LANGUAGE="JavaScript"><!--
function redirect() {
window.location.href = "fck_image.php";
}
//-->
</SCRIPT>
...so the theory was that if I put my PHP/MySQL code at absolute bottom of the page, then the page would load up, show the gif and then redirect once all the PHP and MySQL stuff had been executed. HOWEVER, the problem is that page two is not loading at all until all the calculations have been done.
In short, what I suppose I'm asking is, how do you do the jump from stage 4 to stage 5 (as suggested above)?
Many thanks!