If your PHP allows it and you're on Linux, exec ('rm -Rf /folder/*.php');
You also need the right permissions, of course. Marco -- ------------ php|architect - The magazine for PHP Professionals The monthly worldwide magazine dedicated to PHP programmers Come visit us at http://www.phparch.com! On Wed, 2002-11-13 at 20:48, Jeff Bluemel wrote: > when this php script starts I want it to remove *.php > > how can I do this? will unlink accept a wild card? > > > Jeff > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php