<?php
/**
* rm() -- Vigorously erase files and directories.
*
* @param $fileglob mixed If string, must be a file name (foo.txt), glob pattern (*.txt), or directory name.
* If array, must be an array of file names, glob pattern
s, or directories.
*/
function rm($fileglob)
{
} else if (is_dir($fileglob)) { $ok = rm("$fileglob/*");
if (! $ok) {
return false;
}
} else {
$matching = glob($fileglob); if ($matching === false) {
return false;
}
return false;
}
}
return false;
}
} else {
trigger_error('Param #1 must be filename or glob pattern, or array of filenames or glob pattern
s', E_USER_ERROR
); return false;
}
return true;
}
?>
poprawiam
---
nosporGdzie tutaj mam zmienić coś na nazwe pliku?