March 3rd, 2000, 05:26 PM
We are trying to remove multiple files (with different extentions) and having some PHP syntas troubles:
does NOT seem to work!
In other words, we are trying to 'imitate UNIX
Thanks in advance.
March 4th, 2000, 03:10 AM
try this: i havn't checked, might work:
if (ereg("somestring",$file)) unlink($file);
disclaimer as usual
March 4th, 2000, 03:13 AM
sorry forgot this. add this line before the rest of the code..
$d = dir(".");
$d = dir("somedirstring");
hope this helps..