Thread
:
A Quick PHP Question
View Single Post
03-21-2006, 04:19 PM
Brujah
Beer Money Baron
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
__________________
Free Premium Domain Lists and Tools at
Clickmojo.com
For Sale:
Obscenity.com
Brujah
View Public Profile
Visit Brujah's homepage!
Find More Posts by Brujah