How to remove installation in safe mode [message #10082] |
Sun, 18 May 2003 01:21 |
Gady
Messages: 117 Registered: March 2003
Karma: 0
|
Senior Member |
|
|
Please, I'm looking for any possibilities.
I've tried "unlock" files - didn't work.
I can't delete EVERY file in file manager (too many!).
I've tried `rm -rf` - didn't work.
I've tried different variations of the script like that:
<?php
function delete($file) {
chmod($file,0777);
if (is_dir($file)) {
$handle = opendir($file);
while($filename = readdir($handle)) {
if ($filename != "." && $filename != "..") {
delete($file."/".$filename);
}
}
closedir($handle);
rmdir($file);
} else {
unlink($file);
}
}
delete("fud");
?>
- didn't work!
Help, please.
http://www.bccompass.com/forum
|
|
|
|
|