Refreshing the page might not be a true solution for your case... you should send headers so that myPage.php doesnt store images in cache... Here is a straight lift from php.net's header() manual
<?php
// Date in the past
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
// always modified
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
// HTTP/1.1
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
// HTTP/1.0
header("Pragma: no-cache");
?>
Remember... this code snipet should be at the top of your myPage.php ... There shouldnt even be a space before <? (NO HTML output to browser befire header() )
Good Luck
TommYNandA