Re: Delete File With Any File Extension

From: Date: Tue, 15 Jun 2010 10:51:42 +0000
Subject: Re: Delete File With Any File Extension
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-306163@lists.php.net to get a copy of this message
"Shaun Thornburgh" <shaunthornburgh@hotmail.com> wrote in message news:BAY148-w43CAAC3698E0134DFACC28ABDD0@phx.gbl... Hi, 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? Thanks _________________________________________________________________ http://clk.atdmt.com/UKM/go/197222280/direct/01/ We want to hear all your funny, exciting and crazy Hotmail stories. Tell us now Hi, use glob() and then unlink with array_walk() Br Tanel

« previous php.general (#306163) next »