View file quote_bash/config.php

File size: 0.99Kb
<?php

/**
 * (c) Le bien
 */

$mysql_host	=	'localhost';
$mysql_user	=	'biwap';
$mysql_pass	=	'';
$mysql_db	=	'biwap';
$admin		=	'123';

###################################################################

ini_set ( 'error_reporting', 0 );
ini_set ( 'arg.separator_output', '&amp;' );
ignore_user_abort ( TRUE );

if ( !mysql_connect ( $mysql_host, $mysql_user, $mysql_pass) OR !mysql_select_db ( $mysql_db ) )
	exit ( "База недоступна" );
	
session_start ();

header ( "Cache-control: no-cache" );

function is_utf8($string) 
{ 
    return preg_match('%^(?: 
          [\x09\x0A\x0D\x20-\x7E]            
        | [\xC2-\xDF][\x80-\xBF]             
        |  \xE0[\xA0-\xBF][\x80-\xBF]       
        | [\xE1-\xEC\xEE\xEF][\x80-\xBF]{2}  
        |  \xED[\x80-\x9F][\x80-\xBF]        
        |  \xF0[\x90-\xBF][\x80-\xBF]{2}    
        | [\xF1-\xF3][\x80-\xBF]{3}          
        |  \xF4[\x80-\x8F][\x80-\xBF]{2}    
    )*$%xs', $string); 

}


?>