Re: how to delete files?
| From: | Jeff Bluemel | Date: | Thu, 14 Nov 2002 02:18:04 +0000 |
| Subject: | Re: how to delete files? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-124361@lists.php.net to get a copy of this message | ||
unlink did not work, but exec('rm -f *.php'); worked...
thanks guys
<nicos@php.net> wrote in message
news:20021114015426.61527.qmail@pb1.pair.com...
> 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
> >
> >
>
>