<?PHP
# Mohammad al-herbi - MANtrv - old 19 years - KSA - Madinah
# mantrv@hotmail.com
# http://www.facebook.com/mantrv
# https://twitter.com/mantrvv
# This is Class First For Me
# Class connect Database + pages safe + Very fast + free of errors
if(preg_match("/config/i",$_SERVER["PHP_SELF"])){die("No Accass");} // default
#--------------------------Setting Config--------------------------------#
// # default Localhost
$Config['HOST'] = 'localhost';
// # Name User Mysql
$Config['USER'] = 'rgoot';
// # Pass Mysql
$Config['PASS'] = 'root';
// # Name DATA Mysql
$Config['DB'] = 'test';
# The Pages Security Pages | Ex. '/page1|page2|page3/i'
$Config['NO_ACCESS_PAGE'] = '/mysql_class|config2/i';
?>
|