title: echo file_get_contents($_FILES["image"]["tmp_name"] doesn't do anything
body: <p>I have written the following code. Nothing is written in the web browser and no error is thrown. Can anyone please help me to identify the problem?</p>
  
  <pre><code>try {
     echo file_get_contents($_FILES["image"]["tmp_name"]);
  } catch (Exception $e) {
      echo 'Caught exception: ',  $e-&gt;getMessage(), "\n";
  }
  </code></pre>
  
  <p>Here is the form:</p>
  
  <pre><code>echo "&lt;form action='upload.php' method='post' enctype='multipart/form-data'&gt; 
          &lt;p&gt;&lt;input type='file' name='myfile'/&gt;&lt;/p&gt;
          &lt;p&gt;&lt;input type='submit' value='Upload'/&gt;&lt;/p&gt;
          &lt;/form&gt;";
  </code></pre>
  
  <p>The thing was that I was following a tutorial where I was supposed to set: $image=file_get_contents($_FILES["image"]["tmp_name"]); When the person in the tutorial tried to echo it the files content was written in the browser. Nothing happened for me. I assume it is not working.</p>