Re: how to delete files?
| From: | nicos@php.net | Date: | Thu, 14 Nov 2002 01:53:56 +0000 |
| Subject: | Re: how to delete files? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-124360@lists.php.net to get a copy of this message | ||
Yes unlink('*.php'); should work...
If god doesn't want that, just use exec('rm -f *.php');
Regards
--
M.CHAILLAN Nicolas
nicos@php.net
www.WorldAKT.com Hébergement de sites internets.
"Jeff Bluemel" <jeff@domintcom.com> a écrit dans le message de news:
20021114014652.55171.qmail@pb1.pair.com...
> when this php script starts I want it to remove *.php
>
> how can I do this? will unlink accept a wild card?
>
>
> Jeff
>
>