mixed File_HtAccess::load ()
mixed File_HtAccess::load
Load the contents of .htaccess file.
mixed - Returns TRUE on success, PEAR_Error on failure.
This function can not be called statically.
Example 38-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 } ?>