File_HtAccess::load() -- load the contents of existing .htaccess file
Leírás
Load the contents of .htaccess file.
Visszatérési érték
mixed - Visszatérési értéke TRUE sikeres futás
esetén, PEAR_Error amennyiben hiba lépett fel.
Megjegyzés
Ez a függvény nem hívható
statikusan.
Példa
Példa 40-1. Using File_HtAccess::load()
<?php
require_once('File/HtAccess.php');
$fh = new File_HtAccess('.htaccess');
$status = $fh->load();
if (PEAR::isError($status)) {
// handle errors
} else {
// continue processing
}
?>
|
|