Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $database = array();
- $database['host'] = 'dbxxxxxxxxx.db.1and1.com';
- $database['username'] = 'dboxxxxxxx';
- $database['password'] = 'us123456';
- $database['database'] = 'db12345678';
- $database['prefix'] = 'mgr_';
- $database['cookieName'] = 'mgr_cookie';
- $database['cookieKey'] = 'hfgfyf[]f[9874hg36g88sgsfdt00kfte';
- $connect = mysql_connect($database['host'] , $database['username'] ,
- $database['password']);
- if (!$connect)
- {
- die (mysql_error());
- }
- mysql_select_db($database['database'], $connect) or die (mysql_error());
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement