File Upload on Win2K
| From: | Joseph Koenig | Date: | Thu, 01 Nov 2001 14:17:56 +0000 |
| Subject: | File Upload on Win2K | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-10148@lists.php.net to get a copy of this message | ||
Hi,
I know this is a question asked all the time and but this one's got me
confused. I'm attempting to have a form upload an image. Simple enough.
The file gets moved up to the temp directory just fine. If I echo the
file, I get something like "F:\PHP\uploadtemp\php56.tmp", which is right
where it should be. Everything is fine till I try to move the uploaded
file. I'm using:
$move = move_uploaded_file($values["image"][$i],
"F:/www.riverotters.com/admin/pics/db/emails/$media_name");
and, yes, the file will come in an array called "image" inside an array
called "values". Is there a problem with passing it via a
multidimensional array like that? I just can't figure out why this one
isn't working. Any clues would be greatly appreciated. Please CC me on
any responses. Thanks,
Joe