Try putting the name of the file as it exists on the server in 'tmp_name'.
This approach (using $_FILES) may work, but I think it's a gamble. If you only need the application to run on the server you're working on, you'll probably be fine, however, if you are planning to distribute the code or use a different server, you may want to find a different method.