Gen. partnerAlgotech

PHP funkce opendir()

Open directory handle

|
11. září 2019

Dostupnost ve verzích: PHP 4.0

Open directory handle

Parametry

Parametr Datový typ Výchozí hodnota Poznámka
$path string není The directory path that is to be opened
$context resource null For a description of the context parameter, refer to the streams section of the manual.

resource

|bool a directory handle resource on success, or false on failure.

If path is not a valid directory or the directory can not be opened due to permission restrictions or filesystem errors, opendir returns false and generates a PHP error of level E_WARNING. You can suppress the error output of opendir by prepending '@' to the front of the function name.

Další zdroje

Oficiální dokumentace funkce opendir

Načítání komentářů...

Zůstaňte v obraze

Přihlaste se k odběru našeho newsletteru a získejte nejnovější informace o kybernetické bezpečnosti přímo do vaší e-mailové schránky.

Vaše údaje jsou v bezpečí. Newsletter můžete kdykoliv odhlásit.