Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Fatal error: Call to undefined function in database.php
- //Decode base64
- function decod($string){
- $string = base64_decode($string);
- return ($string);
- }
- //Data double-coded with base64, just to prevent people reading
- $host = "localhost";
- $user = decod(DOUBLE_ENCRYPTED_USERNAME);
- $pass = decod(DOUBLE_ENCRYPTED_PASSWORD);
- $db = decod(DOUBLE_ENCRYPTED_DATABASE);
- //Connect or print error
- $con = mysql_connect($host, decod($user), decod($pass));
- if (!$con)
- {
- die('Could not connect: ' . mysql_error());
- }
- //Select database
- mysql_select_db(decod($db), $con);
- function_exists ( string $function_name )
Add Comment
Please, Sign In to add comment