Basic authentication in PHP PEAR
The required documents: Pear DB, Auth Table Structure Create Table Auth (Username Varchar (50) Default '' NOT NULL, Password Varchar (32) Default '' NOT NULL, Primary Key (UserName), Key (Password);
Code: PhpRequire_once "auth / auth.php"; function loginfunction () {/ ** * Change the html output. * / Echo