File_HtAccess::load() -- load the contents of existing .htaccess file
Beschrijving
Load the contents of .htaccess file.
Return waarde
mixed - Geeft TRUE terug bij success,
PEAR_Error als het faalt.
Note
Deze functie kan niet statisch worden aangeroepen.
Voorbeeld
Voorbeeld 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
}
?> |
|