title: php file upload capitalized filename issue
body: <p>I have a pretty standard file upload form (that is also writing to a mysql db).  It was working fine throughout my testing, then I went and tested a file that was named with all capital letters.  The file would not upload.  Simple solution I figured, just rename the file before the upload with 'strtolower' but no luck.  Also tried strtoupper, still no luck.  I think I'm also running into this issue with files starting with numbers.  (i did double check and yes the folder is writable.)</p>
  
  <pre><code>$upload_dir = "/path/to/the/upload/folder/entries/";
  $new_filename = mysql_insert_id()."_".$filename;
  $tmp_name = $_FILES["filename"]["tmp_name"];
  move_uploaded_file($tmp_name, $upload_dir . $new_filename);
  </code></pre>
  
  <p>any help is GREATLY appreciated.</p>