Location: PHPKode > projects > CoreAsset > coreasset/lib/settings.php
<?php
	 $fname="gkjd78xh5843w98mnj.cams";
	 $fp=fopen($fname,"r");
	 $content=fgets($fp);
	 $data=explode("\t",$content);
	 if($fp)
	   {
	    $DB_HOST       = base64_decode($data[0]);
     	$DB_USER       = base64_decode($data[1]);
     	$DB_PASSWORD   = base64_decode($data[2]);
     	$DB            = base64_decode($data[3]);
	   } 
     fclose($fp);
     
	// $details = "UGl5dWtoIFJhbmphbiBEYXMsIFNhbmtyYWlsLCBIb3dyYWggLSA3MTEzMTM=";

     $link = mysql_connect($DB_HOST, $DB_USER, $DB_PASSWORD);
     if (!$link)
     {
        die('Not connected : ' . mysql_error());
     }

     $db_selected = mysql_select_db($DB, $link);
     if (!$db_selected)
     {
         die ('DB ERROR : ' . mysql_error());
     }
?>
Return current item: CoreAsset