note 7611 added to Handling file uploads

From: Date: Tue, 08 Aug 2000 18:05:19 +0000
Subject: note 7611 added to Handling file uploads
Groups: php.notes 
Request: Send a blank email to php-notes+get-662@lists.php.net to get a copy of this message
The temporary filename ($userfile in the above examples) contains the full destination path set by php.ini's upload_tmp_dir, not just the name of the temporary file. If you test with file_exists() later, you can use "$userfile" (again following example name) instead of, for instance, "/var/tmp/$userfile". http://www.php.net/manual/features.file-upload.php

« previous php.notes (#662) next »