1. sayfa
<?php $db_host = 'localhost'; $db_user = 'root'; // $db_pass = 'pass'; // $db_name = 'vohaa'; // define('CONSUMER_KEY', ''); // define('CONSUMER_SECRET', ''); // define('OAUTH_CALLBACK', 'http://twitter.vohaa.net/callback.php'); //http://premiumhesapci.org mysql_connect($db_host,$db_user,$db_pass); mysql_select_db($db_name); $q = mysql_query("select * from settings"); while($v = mysql_fetch_assoc($q)) { $_set[$v["var"]] = $v["val"]; } $standartkredi = $_set["standartkredi"]; $teksefer = $_set["teksefer"]; $user = $_set["admin"]; $pass = $_set["pass"]; function cs($string) { if( ( function_exists("get_magic_quotes_gpc") && get_magic_quotes_gpc() ) ) { $string = stripslashes($string); } elseif(!get_magic_quotes_gpc()) { $string = addslashes($string); } $string = @mysql_real_escape_string($string); return $string; }; ?> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>Vohaa Admin CP </title>
Bu hatayı alıyorum..