title: Saving files to sub directory with imagejpeg
body: <p>I have a php file that creates a thumbnail using an uploaded image.
  If i use</p>
  
  <pre><code>imagejpeg( $tmp_img, $_FILES["file"]["name"] );
  </code></pre>
  
  <p>it saves the picture without any issues to the same directory that the upload.php file is in.</p>
  
  <p>I want to save the picture to </p>
  
  <pre><code>imagejpeg( $tmp_img, "uploads/thumbnails/" + $_FILES["file"]["name"] );
  </code></pre>
  
  <p>where the uploads folder is in the same directory as the upload.php file. But this doesnt seem to work... where have i gone wrong?</p>