code:
if(file_exists('signature.gif')){
$modifiedTime = time() - filemtime('signature.gif');
if($modifiedTime<60){
outputFile();
exit;
}
}
is the if statement which decides whether or not to re-write. if you remove it the picture will update on each view.