View file inc/conf_db.php

File size: 514B
<?
error_reporting(0);
    $DB_HOST = "localhost";
    $DB_USER = "click";
    $DB_PASS = "1234";
    $DB_NAME = "click";



mysql_connect($DB_HOST,$DB_USER,$DB_PASS) or die (mysql_error());
mysql_select_db($DB_NAME);


function preobraz($value){
$value1=array("&","$","'","\"","<",">");
$value2=array("&amp;","$$","&#x27;","&quot;","&lt;","&gt;");
$value=str_replace($value1,$value2,$value);
if(get_magic_quotes_gpc()){
$value = stripslashes($value);}
$value = mysql_real_escape_string($value);
return $value;}
?>