PEAR Manual
Prev |  | Next

# File_Passwd_Authbasic::File_Passwd_Authbasic()

File_Passwd_Authbasic::File_Passwd_Authbasic() -- Constructor

## Synopsis

    require_once 'File/Passwd/Authbasic.php';

``object &new File_Passwd_Authbasic` ([string $file = '.htpasswd'])`

## Description

Initialise a new File_Passwd_Authbasic object with the given path to the passwd file.

## Parameter

string `$file`

  path to AuthUserFile

## Return value

Returns object File_Passwd_Authbasic.

## Note

This function can not be called statically.

Prev | Home | Next
File_Passwd_Authbasic::staticAuth() | Up | File_Passwd_Authbasic::parse()