title: How can I use getimagesize() with $_FILES['']?
body: <p>I am doing an image upload handler and I would like it to detect the dimensions of the image that's been uploaded by the user.</p>
  
  <p>So I start with:</p>
  
  <pre><code>if (isset($_FILES['image'])) etc....
  </code></pre>
  
  <p>and I have </p>
  
  <pre><code>list($width, $height) = getimagesize(...);
  </code></pre>
  
  <p>How am i supposed to use them together?</p>
  
  <p>Thanks a lot</p>