File_HtAccess::load

File_HtAccess::load() – Charge le contenu d'un fichier .htaccess existant

Synopsis

mixed File_HtAccess::load ( )

Description

Charge le contenu d'un fichier .htaccess.

Return value

mixed - Returns TRUE on success, PEAR_Error on failure.

Note

This function can not be called statically.

Example

Exemple avec File_HtAccess::load()

<?php
require_once('File/HtAccess.php');

$fh     = new File_HtAccess('.htaccess');
$status $fh->load();

if (
PEAR::isError($status)) {
  
// Gestion des erreurs
} else {
  
// On continue le traitement...
}

?>
constructeur (Previous) Sauvegarde le fichier .htaccess (Next)
Last updated: Sun, 29 Aug 2010 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:

User Notes:

There are no user contributed notes for this page.