File_HtAccess::load() -- load the contents of existing .htaccess file
Beschreibung
Load the contents of .htaccess file.
Rückgabewert
mixed - Gibt bei Erfolg TRUE zurück, bei einem Fehler
ein Objekt der Klasse PEAR_Error.
Hinweise
Diese Methode kann nicht
statisch aufgerufen werden.
Beispiel
Beispiel 39-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
}
?> |
|