Re: Uploaded File Is Moved Successfully, But Really Isn't There
| From: | Sven Herrmann | Date: | Thu, 09 May 2002 00:50:29 +0000 |
| Subject: | Re: Uploaded File Is Moved Successfully, But Really Isn't There | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-96730@lists.php.net to get a copy of this message | ||
you've made a small error...
> @mkdir("../../images") or die("Directory couldn't be created!");
ok.. here you create the directory "../../images"
> if (move_uploaded_file($_FILES['image']['tmp_name'],
> "../../../images"))
{
but you try to copy it to "../../../images"
Sven