Re: File deletion
| From: | Joe Van Meer | Date: | Tue, 05 Feb 2002 00:56:20 +0000 |
| Subject: | Re: File deletion | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-16652@lists.php.net to get a copy of this message | ||
Try looking at the unlink() function. It removes files off of the web
server.
HTH Joe :)
Todd Williamsen <todd@williamsen.net> wrote in message
news:20020207164801.79801.qmail@pb1.pair.com...
> I created a couple of forms where one inserts new contact data with a
file,
> in this case its a resume. Now, I want to create a form where a user can
> update the information by inserting their updated information and if there
> is a new resume then it would be uploaded.
>
> I got the upload part down, but i would like to delete the old resume when
> the update is done, only if there is an update done to the resume. This
> more for file management than anything.
>
> I am sure this is possible, but I thought I would ask all you PHP experts
> first since I am a semi-newbie at this...
>
> thanks!
>
>