View Single Post
Old 03-21-2006, 04:19 PM  
Brujah
Beer Money Baron
 
Brujah's Avatar
 
Industry Role:
Join Date: Jan 2001
Location: brujah / gmail
Posts: 22,157
if ( file_exists( $filename ) ) {
unlink ( $filename );
}

or you should probably use 'find', to delete all blah.exe from the current directory and below, something like
find . -name 'blah.exe' | xargs rm
__________________
Brujah is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote