RE: [PHP-WIN] Multiple file Delete

2004-06-17 Thread Gryffyn, Trevor
I'm not understanding the logic in all the loops and such here. And why comparing the first 5 characters? That seems kind of dangerous. Why don't you pass the name of the main file ($file = "image1.jpg" for example) then: 1. unlink $file in images 2. unlink $file in big 3. unlink $file . ".txt"

RE: [PHP-WIN] Multiple file Delete

2004-06-17 Thread Svensson, B.A.T. (HKG)
That error message is oki, but use @ to silent error messag, like if (@unlink($delFile)) -Original Message- From: Lenny Davila To: [EMAIL PROTECTED] Sent: 16-6-2004 22:07 Subject: [PHP-WIN] Multiple file Delete I need to be able to delete multiple files from my web server by choo