File_Passwd_Custom::staticAuth

File_Passwd_Custom::staticAuth()

File_Passwd_Custom::staticAuth() -- Fast authentication

Description

Static user authentication.

Parameter

string $file

path to passwd file

string $user

user to authenticate

string $pass

plaintext password

array $opts

A two element array containing the encryption function to use and the delimiting character: e.g. array('md5', '|')

Note

This function should be called statically.

© Copyright 2003-2023 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.