Re: Delete File With Any File Extension

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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?


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux