Warning: include(../lntop.php) [function.include]: failed to open stream: No such file or directory in /var/www/prime/data/www/prime-speed.ru/Manual_PHP_4/f/mcrypt-list-modes.html on line 19

Warning: include() [function.include]: Failed opening '../lntop.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/prime/data/www/prime-speed.ru/Manual_PHP_4/f/mcrypt-list-modes.html on line 19

Warning: include(../levoe_menu.php) [function.include]: failed to open stream: No such file or directory in /var/www/prime/data/www/prime-speed.ru/Manual_PHP_4/f/mcrypt-list-modes.html on line 46

Warning: include() [function.include]: Failed opening '../levoe_menu.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/prime/data/www/prime-speed.ru/Manual_PHP_4/f/mcrypt-list-modes.html on line 46



Учебник РНР
Назад Вперёд

mcrypt_list_modes

(PHP 4 >= 4.0.2)

mcrypt_list_modes - получает массив всех поддерживаемых режимов.

Описание

array mcrypt_list_modes ([string lib_dir])

mcrypt_list_modes() используется для получения массива из всех поддерживаемых режимов в lib_dir.

mcrypt_list_modes() принимает в качестве необязательного параметра директорию lib_dir, где находятся все режимы. Если не он не специфицирован, используется значение php.ini-директивы mcrypt.modes_dir php.ini.

Пример 1. mcrypt_list_modes()
<?php
    $modes = mcrypt_list_modes ();

    foreach ($modes as $mode) {
        echo "$mode <br />\n";
    }
?>

Пример даст на выходе список всех поддерживаемых алгоритмов в директории по умолчанию режимов. Если директория не установлена ini-директивой mcrypt.modes_dir, используется директива по умолчанию для mcrypt (/usr/local/lib/libmcrypt).


Назад Оглавление Вперёд
mcrypt_list_algorithms Вверхmcrypt_module_close


Warning: include(../pravoe_menu.php) [function.include]: failed to open stream: No such file or directory in /var/www/prime/data/www/prime-speed.ru/Manual_PHP_4/f/mcrypt-list-modes.html on line 149

Warning: include() [function.include]: Failed opening '../pravoe_menu.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/prime/data/www/prime-speed.ru/Manual_PHP_4/f/mcrypt-list-modes.html on line 149

Rambler's Top100
© 2009 Тест скорости интернета |  Boont.Ru

Warning: include(../lnbottom.php) [function.include]: failed to open stream: No such file or directory in /var/www/prime/data/www/prime-speed.ru/Manual_PHP_4/f/mcrypt-list-modes.html on line 275

Warning: include() [function.include]: Failed opening '../lnbottom.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/prime/data/www/prime-speed.ru/Manual_PHP_4/f/mcrypt-list-modes.html on line 275