Re: Problem of varible
| From: | Curt Zirzow | Date: | Mon, 11 Oct 2004 19:34:28 +0000 |
| Subject: | Re: Problem of varible | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-199231@lists.php.net to get a copy of this message | ||
* Thus wrote edwardspl@ita.org.mo:
>
> <Form Action="getfile1.php" Method="POST"
> Enctype="multipart/form-data">
>
> <Input Type="File" Name="upfile" ><p>
> <Input Type="Submit" value="Send">
> </Form>
>
> getfile1.php
> ...
>
> copy($upfile, "/tmp/$upfile_name");
> ?>
Also use move_uploaded_file() instead.
http://php.net/move_uploaded_file
Curt
--
Quoth the Raven, "Nevermore."