rmdir

(PHP 3, PHP 4 , PHP 5)

rmdir -- Removes directory

Description

bool rmdir ( string dirname [, resource context])

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

Замечание: As of PHP 5.0.0 rmdir() can also be used with some URL wrappers. Refer to Прил. J for a listing of which wrappers support rmdir().

Замечание: The context parameter was added as of PHP 5.0.0.

Замечание: Когда опция safe mode включена, PHP проверяет, имеет ли каталог, с которым вы собираетесь работать, такой же UID, как и выполняемый скрипт.

See also mkdir() and unlink().


HIVE: All information for read only. Please respect copyright!
Hosted by hive КГБ: Киевская городская библиотека