Class that can authenticate users with MySQL database records
Class untuk authenticate users with MySQL database
Ia akan merujuk sebuah table pangkalan data dan memastikan pengguna wujud atau tidak.
1. Page login_index.php
<?php
require_once "login_login.php";
$login = new Login("class_senang@gmail.com","123456");
if($login){
echo "OK";
}else{
echo "ERROR";
}
?>
2. Page login_login.php
Oleh : Abd Rahman Sirat
Thursday, 30 October 2014
Class that can authenticate users with MySQL database records
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment