note 22442 added to features.file-upload
| From: | wloka at multimediahaus dot de | Date: | Tue, 18 Jun 2002 15:32:24 +0000 |
| Subject: | note 22442 added to features.file-upload | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-31978@lists.php.net to get a copy of this message | ||
I had a strange Problem on a Debian System with PHP 4.2.1-3.
$filename is $filename_name not the tempname on the Server.
--- CUT ---
if ($filename==$filename_name):
$filename=$_FILES['filename']['tmp_name'];
endif;
--- CUT END ---
This bit of code helps to get the right tempfile as u expect.
prof_
--
http://www.php.net/manual/en/features.file-upload.php
http://master.php.net/manage/user-notes.php?action=edit+22442
http://master.php.net/manage/user-notes.php?action=delete+22442
http://master.php.net/manage/user-notes.php?action=reject+22442