-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathconfig.php
30 lines (30 loc) · 1.19 KB
/
config.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?
set_time_limit(30); //set time limit in sec
// ENCODE SETTING
$Cfg["hash"] = "md5";
// DATABASE SETTING
$Cfg["mysql"]["host"] = "localhost"; //Tip: Don't change it. :D
$Cfg["mysql"]["user"] = "root"; // mysql username
$Cfg["mysql"]["pass"] = "1234boss"; // mysql password
$Cfg["mysql"]["db"] = "passwordl"; //database to store
//=================================================
// Decrypt SETTING
$Cfg["decrypt"]["save"] = "all";
//all = Save all Temp in database Best result on High storage capacity.
//some = Save result Temp in database Best result on low storage capacity.
//off = Don't save
$Cfg["decrypt"]["charset"] = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
$Cfg["decrypt"]["PASSWORD_MAX_LENGTH"] = "8";
$Cfg["decrypt"]["HASH_ALGO"] = $Cfg["hash"];
//================================================
// Encrypt SETTING
$Cfg["encrypt"]["save"] = "on";
//on = save encrypt data in database
//off = don't save
//Don't edit This below
//=================================================
$db = $Cfg["mysql"]["db"];
$hashl = $Cfg["decrypt"]["HASH_ALGO"];
mysql_connect($Cfg["mysql"]["host"],$Cfg["mysql"]["user"],$Cfg["mysql"]["pass"]);
mysql_select_db($db);
?>