rmdir

(PHP 3, PHP 4 )

rmdir -- Removes directory

Description

int rmdir ( string dirname)

Attempts to remove the directory named by dirname. The directory must be empty, and the relevant permissions must permit this. Возвращает TRUE в случае успешного завершения, FALSE в случае возникновения ошибки.

See also mkdir() and unlink().