File_HtAccess::delRequire() -- remove a value from require property
Описание
Remove a value (user) from require property. Using this method you
can control which users will be able to access the protected resources.
Возвращаемое значение
void
Заметка
Эта функция не должна вызываться статически.
Пример
Пример 40-1. Using File_HtAccess::delRequire()
<?php
require_once('File/HtAccess.php');
/* remove user viemero from list of users to be granted access */
$fh = new File_HtAccess('.htaccess');
$fh->load();
$fh->delRequire('viemero');
$fh->save();
?> |
|