Re: Delete File With Any File Extension
| From: | Adrian | Date: | Tue, 15 Jun 2010 10:49:58 +0000 |
| Subject: | Re: Delete File With Any File Extension | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-306161@lists.php.net to get a copy of this message | ||
Use glob() to get a list of matching afiles nd then unlink() them
separately.
> I need to delete a file with any file extension where i know the
> name of the file, is it possible to use regular expressions with the unlink function?