Re: Delete files from the server
| From: | Richard Lynch | Date: | Fri, 17 Dec 2004 17:25:26 +0000 |
| Subject: | Re: Delete files from the server | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-204604@lists.php.net to get a copy of this message | ||
Steve Marquez wrote:
> I have uploaded some pictures and thumbnails using a PHP form into a
> particular directory. I would like to be able to select the name of the
> picture and then chose to delete that picture and its thumbnail from the
> server using another form.
>
> The name of the picture is in the MySQL database.
>
> Is there any way to do this?
I asked this question a half-dozen years ago, because I didn't know Un*x
and couldn't find the answer, despite a pretty good search...
Did you try searching PHP's function list for 'delete'?
They added that entry just for folks like you and me :-)
--
Like Music?
http://l-i-e.com/artists.htm