|
|
(Next) File_HtAccess::save() |
||||
| |
|||||
|
|||||
mixed File_HtAccess::load (
)
.htaccess ファイルの内容をロードします。
mixed - Returns TRUE on success, PEAR_Error on failure.
This function can not be called statically.
File_HtAccess::load() の使用
<?php
require_once('File/HtAccess.php');
$fh = new File_HtAccess('.htaccess');
$status = $fh->load();
if (PEAR::isError($status)) {
// エラーを処理する
} else {
// 処理を続ける
}
?>
|
|
(Next) File_HtAccess::save() |
||||||||
| |
|||||||||
|
|||||||||