Re: Uploaded File Is Moved Successfully, But Really Isn't There
| From: | Dr. Shim | Date: | Thu, 09 May 2002 06:20:23 +0000 |
| Subject: | Re: Uploaded File Is Moved Successfully, But Really Isn't There | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-96766@lists.php.net to get a copy of this message | ||
I'm sorry! Let me correct myself. The file *is* copied, but its copied to
the same directory the script resides in, not the "images" directory two
levels up.
Doh! Hmm.....does anybody have any ideas??
-------------------------
"Dr. Shim" <ultimatezzz@hotmail.com> wrote in message
news:20020509061503.67161.qmail@pb1.pair.com...
This works:
copy($_FILES['image']['tmp_name'], "././images")
But the image still isn't in the directory, even though PHP says the copy
was successful! Eech, I'm getting a headache. :>