title: Problems with no caching solutions and images
body: <p>I've a php page with some forms used to upload images. Each form upload one image. Uploaded images replace images yet loaded in the page.</p>
  
  <p>Here is a snippet:</p>
  
  <pre><code>&lt;?php
  // NO CACHING CODE
  header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
  header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
  header("Cache-Control: no-store, no-cache, must-revalidate");
  header("Cache-Control: post-check=0, pre-check=0", false);
  header("Pragma: no-cache");
  
  // FORM SUBMIT CODE
  if (isset($_POST['submit_img1'])) {
      // used for some photo manipulation and checks
      require_once('WideImage/WideImage.php');
      //... some code ...
      unlink("path/" . $img1);
      $img_name = "path/" . $img1;
      $wideImage-&gt;saveToFile($img_name, 80);
      // ... some code ...
  }
  
  // PRINT IMAGE IN THE PAGE
  echo '&lt;p&gt;&lt;img src="path/' . $img1 . '" width="100" height="100" class="prof_img" /&gt;&lt;/p&gt;';
  ?&gt; 
  
    //FORM FOR CHANGE THE IMAGE
      &lt;form id="form_img1" name="form_img1" method="post" onSubmit="return checkFormImg1()"
  action="" enctype="multipart/form-data"&gt;
      &lt;input class="prof_input" type="file" name="img1" id="img1" /&gt;
      &lt;input name="submit_img1" type="submit" class="prof_submit" value="Inserisci Immagine 1"
      /&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>The problem is that on reload (after submit button is pressed) the old images are displayed. But the new images have been properly uploaded replacing the old ones.</p>
  
  <p>Excuse my english.</p>