title: php noob-file upload script problems
body: <p>I have this script and when i try to run it, it just says waiting for localhost and never actually runs. If i go to my localhost i can run other files with no problem. </p>
  
  <p>What's wrong with this script?</p>
  
  <pre><code>&lt;?php 
      $dir = 'Images/uploaded/';
      if($handle = opendir($dir)) {
          $file = readdir($handle);
  
          while($file !== false) {
              echo "&lt;li&gt;&lt;img class=\"thumb\" src=\"".$dir.$file."\" /&gt;&lt;/li&gt;";
          }
      }
  
      closedir($handle);
  ?&gt;
  </code></pre>