I ran in to a simular problem. I ended having to read the file with php and then copy it to a different dir for it to stay on the server. Otherwise it just get's uploaded to your tmp dir and then deleted as soon as the script is done running.
the functions you need to use to do this are:
fopen
fread
fwrite
Good luck.