Рекурсивный акроним словосочетания «PHP: Hypertext Preprocessor»
Добро пожаловать на форум PHP программистов!
File_HtAccess::setAuthGroupFile()
Вернуться к: File_HtAccess
File_HtAccess::setAuthGroupFile()
File_HtAccess::setAuthGroupFile() – set the value of authgroupfile property
Synopsis
void File_HtAccess::setAuthGroupFile ( string $file )
Sets the value of authgroupfile property. AuthGroupFile a file containing names of the groups and usernames belonging to the group. You must give full path to the group file in order for it to work.
Parameter
-
string $file - absolute pathname to the group file.
Return value
void
Note
This function can not be called statically.
Example
Using File_HtAccess::setauthgroupfile()
<?php
require_once('File/HtAccess.php');
/* set the group file to /etc/htgroup */
$fh = new File_HtAccess('.htaccess');
$fh->load();
$fh->setAuthGroupFile('/etc/htgroup');
$fh->save();
?>
Вернуться к: File_HtAccess