more login work
This commit is contained in:
17
interfaceServices/dbConfig.php
Normal file
17
interfaceServices/dbConfig.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
define('dbhost', 'localhost');
|
||||
define('dbuser', 'lazyp_workadmin');
|
||||
define('dbpass', 'GH5fZF0iCtLnHLrz');
|
||||
define('dbname', 'LudosData');
|
||||
|
||||
|
||||
try {
|
||||
$connect = new PDO("mysql:host=".dbhost."; dbname=".dbname, dbuser, dbpass);
|
||||
$connect->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
|
||||
}
|
||||
catch(PDOException $e) {
|
||||
echo $e->getMessage();
|
||||
}
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user