Salam, Qonaq
 Əsas Səhifə | GirişQeydiyyatDil seç: AZ  

Son Aktivlik

Master Forum | Skript / Komek | Komek Lazimdir
Axtarış
  Mysql bazada komek
Agilli_Avara Agilli_Avara [Off] [#] (09.02.2012 / 08:34)
Salam bir bura baxin http://djresad.tk/chat/enter.php bu neden olar?
Sistem Sistem [Off] [#] (09.02.2012 / 08:34)
WapUsta.Net :)
Tebrikler !Yeni movzu ugurla yaradildi! Eger movzu Qaydalara uygun olmazsa silinecek. Odur ki bir daha Qaydalari diqqetle oxuyun ! Movzudan kenara chixan cezalandirilacaq !
Agilli_Avara Agilli_Avara [Off] [#] (09.02.2012 / 08:39)
<?php
Error_Reporting(E_ALL & ~E_NOTICE);
define('yccost','localhost');
define('yccser','djresadtk_user');
define('yccass','BklKTY54f44');
define('yccame','djresadtk_auto');
$site = "Wap.DjResad.Tk";
$vaxt = "864000"; // online vaxt
$xsat = "0"; // saaat
$admin = "ADMIN"; // adminin niki
$nomre = "(055) 382-21-25"; // adminin nomresi. (elaqe ucun)

$HTTP_USER_AGENT = htmlentities(addslashes($_SERVER["HTTP_USER_AGENT"]));
$REMOTE_ADDR = htmlentities(addslashes($_SERVER["REMOTE_ADDR"]));
$divide = "----<br/>";
if($_POST['npass']!="")$ps = base64_encode("$_POST[npass]");
$SQLlink = "";


$dtd = '<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.2//EN" "http://www.wapforum.org/DTD/wml12.dtd">';
$xml = '<?xml version="1.0" encoding="UTF-8"?>';

function connect_db() {
$SQLlink = @mysql_connect (yccost, yccser, yccass);
if($SQLlink) {
if(@mysql_select_db(yccame)){
return $SQLlink;
} else {
$yenile = $_SERVER['HTTP_HOST'];
$yenile .= $_SERVER['REQUEST_URI'];
$yenile = str_replace("&", "&amp;", $yenile);

echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n";
echo "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n";
echo "<html><center><head>\n";
echo "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\"/>\n";
echo "<title>MySql DataBase</title>\n";
echo "<style type=\"text/css\">
body { font-weight: normal; font-size: normal; font-family: white; color: #ff6699; background-color: #000000 }
a:link,a:active,a:visited { text-decoration: underline; color : #ffff00 }
div { margin: 1px 0px 1px 0px; padding: 4px 4px 4px 4px }
div.form { background-color: #00ff00 }
</style></head><body>";
echo "*****<br/>\n";
echo "<b>MySql</b> Baza ile Elaqe Yaranm&#305;r. Sayt Heddinden &#199;ox Y&#252;klenib...<br/>----<br/>";
echo "<i>Zehmet olmasa biraz g&#246;zleyin...</i> <br/>*****<br/>";
echo "<a href=\"http://$yenile\">Yenile</a><br/>\n";

echo "<a href=\"license.php\">Script License</a><br/>\n";
echo "</body></center></html>";
}
} else {
$yenile = $_SERVER['HTTP_HOST'];
$yenile .= $_SERVER['REQUEST_URI'];
$yenile = str_replace("&", "&amp;", $yenile);

echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n";
echo "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n";
echo "<html><head>\n";
echo "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\"/>\n";
echo "<title>MySql Not</title>\n";
echo "<style type=\"text/css\">
body { font-weight: normal; font-size: normal; font-family: white; color: #ff6699; background-color: #000000 }
a:link,a:active,a:visited { text-decoration: underline; color : #ffff00 }
div { margin: 1px 0px 1px 0px; padding: 4px 4px 4px 4px }
div.form { background-color: #00ff00 }
</style></head><body>";
echo "<center>*****<br/>\n";
echo "<b>MySql</b> Baza Yarad&#305;lmay&#305;b...";
echo "<br/>*****<br/></center>";
echo "<a href=\"http://$yenile\">Yenile</a><br/>\n";
echo "<a href=\"license.php\">Script License</a><br/>\n";
echo "</body></html>";
}
exit;
}

function getmicrotime()
{
list($usec, $sec) = explode(" ", microtime());
return ((float)$usec + (float)$sec);
}


function rus_to_k($str){
$str = str_replace("а","a",$str);
$str = str_replace("б","b",$str);
$str = str_replace("в","v",$str);
$str = str_replace("г","g",$str);
$str = str_replace("д","d",$str);
$str = str_replace("е","e",$str);
$str = str_replace("С&#8216;","e",$str);
$str = str_replace("ж","j",$str);
$str = str_replace("з","z",$str);
$str = str_replace("и","i",$str);
$str = str_replace("й","y",$str);
$str = str_replace("к","k",$str);
$str = str_replace("л","l",$str);
$str = str_replace("м","m",$str);
$str = str_replace("н","n",$str);
$str = str_replace("о","o",$str);
$str = str_replace("п","p",$str);
$str = str_replace("С&#8364;","r",$str);
$str = str_replace("с","s",$str);
$str = str_replace("С&#8218;","t",$str);
$str = str_replace("С&#402;","u",$str);
$str = str_replace("С&#8222;","f",$str);
$str = str_replace("С&#8230;","h",$str);
$str = str_replace("С&#8225;","c",$str);
$str = str_replace("С&#8224;","q",$str);
$str = str_replace("С&#710;","w",$str);
$str = str_replace("С&#8240;",">",$str);
$str = str_replace("С&#338;","<",$str);
$str = str_replace("С&#8249;","x",$str);
$str = str_replace("С&#352;",".",$str);
$str = str_replace("э",":",$str);
$str = str_replace("ю",";",$str);
$str = str_replace("я","}",$str);
$str = str_replace("А","a",$str);
$str = str_replace("Р&#8216;","b",$str);
$str = str_replace("Р&#8217;","v",$str);
$str = str_replace("Р&#8220;","g",$str);
$str = str_replace("Р&#8221;","d",$str);
$str = str_replace("Р&#8226;","e",$str);
$str = str_replace("Ё","e",$str);
$str = str_replace("Р&#8211;","j",$str);
$str = str_replace("Р&#8212;","z",$str);
$str = str_replace("Р&#65533;","i",$str);
$str = str_replace("Р&#8482;","y",$str);
$str = str_replace("Р&#353;","k",$str);
$str = str_replace("Р&#8250;","l",$str);
$str = str_replace("Р&#339;","m",$str);
$str = str_replace("Н","n",$str);
$str = str_replace("О","o",$str);
$str = str_replace("Р&#376;","p",$str);
$str = str_replace("Р","r",$str);
$str = str_replace("С","s",$str);
$str = str_replace("Т","t",$str);
$str = str_replace("У","u",$str);
$str = str_replace("Ф","f",$str);
$str = str_replace("Х","h",$str);
$str = str_replace("Ч","c",$str);
$str = str_replace("Ц","q",$str);
$str = str_replace("Ш","w",$str);
$str = str_replace("Щ",">",$str);
$str = str_replace("Ь","<",$str);
$str = str_replace("Ы","x",$str);
$str = str_replace("Ъ",".",$str);
$str = str_replace("Э",":",$str);
$str = str_replace("Ю",";",$str);
$str = str_replace("Я","}",$str);
return $str;
}

function win_to_utf($str){
$str=strtr($str,array(""=>"а",""=>"б",""=>"в",""=>"г",""=>"д",""=>"е",""=>"С&#8216;",""=>"ж",""=>"з",""=>"и",""=>"й",""=>"к",""=>"л",""=>"м",""=>"н",""=>"о",""=>"п",""=>"С&#8364;",""=>"с",""=>"С&#8218;",""=>"С&#402;",""=>"С&#8222;",""=>"С&#8230;",""=>"С&#8224;",""=>"С&#8225;",""=>"С&#710;",""=>"С&#8240;",""=>"С&#352;",""=>"С&#8249;",""=>"С&#338;",""=>"э",""=>"ю",""=>"я",
""=>"А",""=>"Р&#8216;",""=>"Р&#8217;",""=>"Р&#8220;",""=>"Р&#8221;",""=>"Р&#8226;",""=>"Ё",""=>"Р&#8211;",""=>"Р&#8212;",""=>"?",""=>"Р&#8482;",""=>"Р&#353;",""=>"Р&#8250;",""=>"Р&#339;",""=>"Н",""=>"О",""=>"Р&#376;",""=>"Р",""=>"С",""=>"Т",""=>"У",""=>"Ф",""=>"Х",""=>"Ц",""=>"Ч",""=>"Ш",""=>"Щ",""=>"Ъ",""=>"Ы",""=>"Ь",""=>"Э",""=>"Ю",""=>"Я"));
return $str;
}

function utf_to_win($str){
$str=strtr($str,array("а"=>"","б"=>"","в"=>"","г"=>"","д"=>"","е"=>"","С&#8216;"=>"","ж"=>"","з"=>"","и"=>"","й"=>"","к"=>"","л"=>"","м"=>"","н"=>"","о"=>"","п"=>"","С&#8364;"=>"","с"=>"","С&#8218;"=>"","С&#402;"=>"","С&#8222;"=>"","С&#8230;"=>"","С&#8224;"=>"","С&#8225;"=>"","С&#710;"=>"","С&#8240;"=>"","С&#352;"=>"","С&#8249;"=>"","С&#338;"=>"","э"=>"","ю"=>"","я"=>"",
"А"=>"","Р&#8216;"=>"","Р&#8217;"=>"","Р&#8220;"=>"","Р&#8221;"=>"","Р&#8226;"=>"","Ё"=>"","Р&#8211;"=>"","Р&#8212;"=>"","Р&#65533;"=>"","Р&#8482;"=>"","Р&#353;"=>"","Р&#8250;"=>"","Р&#339;"=>"","Н"=>"","О"=>"","Р&#376;"=>"","Р"=>"","С"=>"","Т"=>"","У"=>"","Ф"=>"","Х"=>"","Ц"=>"","Ч"=>"","Ш"=>"","Щ"=>"","Ъ"=>"","Ы"=>"","Ь"=>"","Э"=>"","Ю"=>"","Я"=>""));
return $str;
}


function check($message){
$message = str_replace("\\n", " ", $message);
$message = str_replace("\n", " ", $message);
$message = trim(" $message ");
$message = ereg_replace(" +"," ",$message);
$message = str_replace("$", "$$", $message);
$message = str_replace("", "", $message);
$message = str_replace("", "", $message);
$message = str_replace("", "", $message);
$message = str_replace("", "", $message);
$message = str_replace("", "", $message);
$message = str_replace("", "", $message);
$message = HtmlSpecialChars($message);
$message = str_replace("\"", "&quot;", $message);
$message = str_replace("|", "&#0166;", $message);
$message = str_replace("'", "&#8216;", $message);
$message = str_replace("\\", "", $message);
$message=addslashes($message);
return $message;
}



function check_login($link) {
global $REMOTE_ADDR, $HTTP_USER_AGENT, $HTTP_GET_VARS, $us, $id, $ps, $ref;
$ref = rand(10000, 1000000);
if(isset($HTTP_GET_VARS['us'])) {$us = mysql_escape_string($HTTP_GET_VARS['us']);}
if(isset($HTTP_GET_VARS['id'])) {$id = mysql_escape_string($HTTP_GET_VARS['id']);}
if(isset($HTTP_GET_VARS['ps'])) {$ps = mysql_escape_string($HTTP_GET_VARS['ps']);}
if(isset($us)){ $us=trim($us);
if($us=="") {$bad_login = 1;}}
if(isset($id)){
if (!ctype_digit($id)) { header("Location: index.php"); die; }
$result = @mysql_query ("Select * from users where id='".$id."' LIMIT 1;");
} else {
if (!ctype_digit($us)) {
$latuser=strtolower($us);
$ruser = rus_to_k($us);
if($ruser==$us){
$result = mysql_query ("Select * from users where latuser = '".$latuser."' LIMIT 1;");
} else {
$result = mysql_query ("Select * from users where ruser = '".$ruser."' LIMIT 1;");
}
} else {
$result = mysql_query ("Select * from users where id = '".$us."' LIMIT 1;");
}
if (mysql_affected_rows() == 0) {
echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>";
echo "<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.2//EN\" \"http://www.wapforum.org/DTD/wml12.dtd\">";
echo "<wml>";
echo "<card id=\"xeta\" title=\"xeta...\" ontimer=\"index.php?ref=$ref\"><timer value=\"15\"/>";
echo "<p align=\"center\"><small>";
echo "<b>Bele bir Istifade&#231;i m&#246;vcut deyil...</b><br/>****<br/>";
echo "<a href=\"index.php?&amp;$ref\">Ana Sehife</a><br/>\n";
echo "</small></p></card></wml>";
mysql_close ($link);
exit;
}

}
$row = mysql_fetch_array ($result);
if(!isset($id)){$id=$row["id"];}
if(!isset($ps)){$ps=0;}
if ($ps !== $row["pass"]){
echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>";
echo "<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.2//EN\" \"http://www.wapforum.org/DTD/wml12.dtd\">";
echo "<wml>";
echo "<card id=\"xeta\" title=\"xeta...\" ontimer=\"index.php?ref=$ref\"><timer value=\"15\"/>";
echo "<p align=\"center\"><small>";
echo "<b>&#350;ifre d&#252;z deyil!</b><br/>****<br/>";
echo "<a href=\"index.php?&amp;$ref\">Ana Sehife</a><br/>\n";
echo "</small></p></card></wml>";
mysql_close ($link);
exit;
}

if($row['fsize'] == "0") { $fsize1 = "<small>"; $fsize2 = "</small>"; }
else { $fsize1 = "<medium>"; $fsize2 = "</medium>"; }


$us_ip = $row["user_ip"];
$us_soft = $row["user_soft"];
if($row["user_soft"]!==$HTTP_USER_AGENT){
mysql_query ("Update users set user_soft='". $HTTP_USER_AGENT."', user_ip = '".$REMOTE_ADDR."' WHERE id = '".$id."';");
if ($row["safe"]==1){
echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>";
echo "<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.2//EN\" \"http://www.wapforum.org/DTD/wml12.dtd\">";
echo "<wml>";
echo "<card id=\"xeta\" title=\"Stop!\">";
echo "<p align=\"center\">";
echo $fsize1;
echo "<b>Diqqet!</b><br/>----<br/>Sizin evvelki ip $us_ip ve ya browser $us_soft, Eger ip+soft bele deyilse nikinizden istifade olunub.&#350;ifrenizi deyishmeyi unutmayin!\n";
echo "<br/>----<br/>\n";
echo "<a href=\"enter.php?id=$id&amp;ps=$ps&amp;ref=$ref\">Davam Et</a><br/>\n";
echo $fsize2;
echo "</p></card></wml>";
mysql_close($link);
exit;
}
}

if($row["level"]<5){
$brawserban = mysql_query ("Select `soft` from `bannlist` WHERE `ip` = '".$REMOTE_ADDR."'");
if (mysql_affected_rows()!=0) {
$iban = mysql_fetch_array ($brawserban);
$iban = $iban['soft'];
if($iban=="IP-BAN" or $iban==$HTTP_USER_AGENT){
echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>";
echo "<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.2//EN\" \"http://www.wapforum.org/DTD/wml12.dtd\">";
echo "<wml>\n";
echo "<head><meta http-equiv=\"Cache-Control\" content=\"no-cache\" forua=\"true\"/></head>\n";
echo "<card id=\"ban\" title=\"IP Browser\">";
echo "<p align=\"center\">\n";
echo $fsize1;
echo "Sizin IP Browserden &#199;ata giri&#351;i ba&#287;lan&#305;b.<br/>----<br/>\n";
echo "<a href=\"http://$site\">Ana Sehife</a><br/>";
echo $fsize2;
echo "</p>\n";
echo "</card>\n";
echo "</wml>\n";
mysql_close($link);
exit;
}
}
}

if (($row["banned"]!=0)or($row["con"]!=0)or(time()<$row["kik"])) {
header ("Location: session.php?id=$id&ps=$ps&ref=$ref");
exit;
}
return array($row, $id, $ps, $fsize1, $fsize2);
}

?>
Agilli_Avara Agilli_Avara [Off] [#] (09.02.2012 / 08:39)
buda kodu diye bilrsiz hardadi ?
Agilli_Avara Agilli_Avara [Off] [#] (09.02.2012 / 10:09)
qardawlar xaiw baxin bir index php de gelmir enter php de gelir bu nedendi?
Admin Admin (SV!) [Off] [#] (09.02.2012 / 10:49)
Men Iphone isleden sade bir oglanam :)
MySql Baza Yaradılmayıb...
Agilli_Avara Agilli_Avara [Off] [#] (13.02.2012 / 17:54)
salam kim komek eder mysql bazani nece yaradim?
Agilli_Avara Agilli_Avara [Off] [#] (13.02.2012 / 18:48)
mysql bazani kim yarada biler?
qafqaz qafqaz [Off] [#] (16.06.2012 / 19:05)
mysql database yazilib gir ora orda craete new data base gir orda username yaz parol yaz fsyo.
  Cemi: 9

Mövzuya Baxanlar (0 nəfər)
Müellife göre filtreleme
Mövzunu YükleForuma Keç
Üst Yenilikler
 Əsas Səhifə  Onlayn: 0 / 14 nəfər

WapUsta.Net - Wap Ustaların Mekanı

© WapUsta.Net