rmdir

(PHP 3, PHP 4 >= 4.0.0)

rmdir -- Removes directory

Description

bool rmdir ( string dirname)

Attempts to remove the directory named by dirname. The directory must be empty, and the relevant permissions must permit this. Başarıda TRUE , başarısızlıkta FALSE döndürür.

See also mkdir() and unlink().