September 2001
Intermediate to advanced
768 pages
32h 45m
English
bool rmdir(string path) Removes a directory.
Returns:
TRUE on success; FALSE on error
Description:
Removes the named directory. The directory must be empty and the user that PHP runs as must have sufficient permissions to delete it.
Example:
$path = "temp";
if(!rmdir($path))
{
echo ("Unable to remove $path");
}
|
Read now
Unlock full access