Re: Move a file from dir to another or delete file..?
| From: | Christian Reiniger | Date: | Wed, 28 Feb 2001 10:16:16 +0000 |
| Subject: | Re: Move a file from dir to another or delete file..? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-41982@lists.php.net to get a copy of this message | ||
On Wednesday 28 February 2001 06:51, you wrote:
> Well I would like to move a file from one directoy to
> another using php and a web browser.
> I could just find a function to move an uploaded file
> but not a normal file which is allready there in some
> directory.
look at the filesystem functions:
rename () (or safer: copy()+unlink())
unlink()
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
CPU not found. retry, abort, ignore?