daha önce kullanılmış kodlarıda denedim yok olmuyor hep aynı şey ya delirecem ayrıca fonks.php şuan kullanılmıyor nerde olabilir sorun o zaman bütün kayıt formunu ve bütün sorgu dosyasının kodlarını vereyim belki öyle bulursunuz
kayıt formu
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><style type="text/css">
<!--
.style2 {
font-family: "Arno Pro Smbd Subhead"
}
-->
</style><head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<link href="style.css" rel="stylesheet" type="text/css" />
<!--[if lt IE 7.]>
<script defer type="text/javascript" src="pngfix.js"></script>
<![endif]-->
<style type="text/css">
<!--
.style1 {
color: #666666;
font-size: 12px;
}
#apDiv1 {
position:absolute;
left:31px;
top:265px;
width:591px;
height:369px;
z-index:1;
background-image: url(panel/images/genelback.gif);
}
#apDiv2 {
position:absolute;
left:227px;
top:181px;
width:588px;
height:18px;
z-index:2;
}
#apDiv3 {
position:absolute;
left:370px;
top:356px;
width:585px;
height:31px;
z-index:2;
}
.style3 {
color: #000000;
font-weight: bold;
}
-->
</style>
</head>
<body>
<!--ana tasiyici bas-->
<div id="apDiv4"></div>
<div class="ana_cont">
<div class="ic_cont" style="height:700px;">
<div style="background-image:url(images/ust.png); width:910px; height:36px;"></div>
<!--header-->
<div style="height:122px;">
<div class="header_sol"><img src="images/logo.png" width="303" height="122" /></div>
<div class="header_sag" align="right"><img src="images/kisi_icon.png" width="22" height="21" /><img src="images/main_icon.png" width="22" height="21" /><img src="images/love_icon.png" width="22" height="21" /><img src="images/mail_icon.png" width="22" height="21" /> </div>
<div style="padding-top:5px; width:468px; float:right; margin-right:25px;"><img src="images/lipton.png" width="468" height="60" /></div>
</div>
<!--header-->
<!--menu-->
<div class="menu_cont">
<a href="#"><img src="images/menu/zeka.png" width="78" height="35" border="0" /></a><a href="#"><img src="images/menu/macera.png" width="78" height="35" border="0" /></a><a href="#"><img src="images/menu/aksiyon.png" width="78" height="35" border="0" /></a><a href="#"><img src="images/menu/nisan.png" width="78" height="35" border="0" /></a><a href="#"><img src="images/menu/spor.png" width="78" height="35" border="0" /></a><a href="#"><img src="images/menu/dovus.png" width="78" height="35" border="0" /></a><a href="#"><img src="images/menu/kagit.png" width="78" height="35" border="0" /></a><a href="#"><img src="images/menu/yaris.png" width="78" height="35" border="0" /></a><a href="#"><img src="images/menu/barbie.png" width="78" height="35" border="0" /></a><a href="#"><img src="images/menu/cocuk.png" width="78" height="35" border="0" /></a><a href="#"><img src="images/menu/beceri.png" width="78" height="35" border="0" /></a></div>
<!--menu-->
<!--Giris-->
<div class="user_cont">
<div style="padding-top:5px; height:35px; padding-left:5px; width:500px; float:left">
<form id="form1" name="form1" method="post" action="">
<input name="textfield" type="text" class="myinputstyle"/>
<input name="textfield" type="password" class="myinputstyle" />
<input type="button" class="mybuttonstyle" value="Giriş" />
<span class="style1"><a href="#">Üye Ol </a>|<a href="#"> Şifremi Unuttum</a></span>
</form>
</div>
<div style="width:300px; float:right; padding-top:5px; height:35px; padding-right:5px;"> <form id="form1" name="form1" method="post" action="">
<font class="arama_label">Oyun Arama</font><input name="textfield" type="password" class="myinputstyle" />
<input type="button" class="mybuttonstyle" value="Ara" />
</form></div>
</div>
<!--Giris-->
<div class="icerik_sol">
<div class="oyun_title">
<div style="float:left; padding-top:3px; padding-left:5px;">Üye Oluyorsunuz !!<a href="gamedelete.php">l</a></div>
<div style="float:right; padding-top:3px; padding-right:15px;">DATE</div>
</div>
<table width="94%" height="410" border="0" cellpadding="0" cellspacing="0">
<tr>
<th height="410" scope="col"><p><center class="style2">
<a href="avantaj.htm" class="style3">Avantajları Ne ? </a>
</center>
</p>
<form id="form2" name="form2" method="post" action="uyedb.php">
<p> </p>
<table width="46%" height="146" border="1" align="center" cellpadding="0" cellspacing="0" class="arama_label">
<tr>
<th width="39%" height="32" scope="col">Kullanıcı Adın:</th>
<th width="61%" scope="col"><label>
<input name="kadi" type="text" class="mybuttonstyle" />
</label></th>
</tr>
<tr>
<th height="29" scope="col">Şifren:</th>
<th scope="col"><label>
<input name="sifre" type="password" class="mybuttonstyle" />
</label></th>
</tr>
<tr>
<th height="37" scope="col">E-mail Adresin:</th>
<th scope="col"><label>
<input name="email" type="text" class="mybuttonstyle" id="textfield3" />
</label></th>
</tr>
<tr>
<th height="41" scope="col"><a href="kayit.php"><img src="kod.php" border="0" title="Kodu Yenile" /></a></th>
<th scope="col"><label>
<input name="kod" type="text" class="mybuttonstyle" id="textfield4" />
</label></th>
</tr>
</table>
<p><center>
<label>
<input name="button" type="submit" class="mybuttonstyle" id="button" value="Üye Ol !" />
</label>
<label>
<input name="button2" type="reset" class="mybuttonstyle" id="button2" value="Reset" />
</label>
</center></p>
</form></th>
</tr>
</table>
<div class="footer">
<div style="float:left; padding-left:5px; padding-top:10px;"><img src="images/footer_logo.png" width="113" height="33" /></div><div style="float:right; padding-top:7px; width:400px;"><span style="font-size:13px;">"© 2008 tatlioyun.net | Her hakki saklidir.</span><br />
<span class="oyun_yazi"><a href="#">Hakkimizda</a> | <a href="#">Kullanim sartlari</a> | <a href="#">Gizlilik sözlesmesi</a> | <a href="#">Yardim</a> | <a href="#">Iletisim</a> |<a href="#"> Duyurular </a></span></div>
</div>
</div>
<div class="icerik_sag" align="center">
<br />
<img src="images/google.png" width="234" height="60" />
<br /><br />
<br />
<br />
<br />
<br />
<img src="images/istatistik.png" width="254" height="29" /><br />
<span class="oyun_yazi">500 Oyun toplamda 32.547 kez oynandi,
suanda 56 uye ve 455 misafir kullanici oyunda.
Toplam 5569 uyemiz var.</span></div>
</div>
</div>
<!--ana tasiyici bit-->
<div style="background-image:url(images/ana_alt.png); width:910px; margin-left:15px; height:40px;"></div>
</body>
</html>Sorgu Dosyası
<?php
$kadi=$_POST["kadi"];
$sifre=$_POST["sifre"];
$email=$_POST["email"];
$pass=$_POST["kod"];
require("/var/www/vhosts/chatlok.com/httpdocs/oyun/inc/sql.php");
$kadi=trim($kadi);
$sifre=trim($sifre);
$email=trim($email);
$pass=trim($pass);
session_start();
if($_SESSION[pass]!=$_POST[kod])
{
echo "<b>Üzgünüm...Güvenlik Kodunu Hatalı Girdin<a href=kayit.php>Geri Dön ve Doğru Gir</a></b>";
exit;
}
include("fonks.php");
$sorgu= "insert into oyun_uye (id, ad, soyad, kadi, sifre, email) values
(NULL, 'Belirtilmedi', 'Belirtilmedi', '".$kadi."', '".$sifre."', '".$email."')";
$sorguyuat=mysql_query($sorgu);
if ($sorguyuat)
{
echo "SAS";
exit;
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<meta http-equiv="Content-Type" content="text/HTML; charset=iso-8859-9">
<title>Untitled Document</title>
<link href="style.css" rel="stylesheet" type="text/css" />
<!--[if lt IE 7.]>
<script defer type="text/javascript" src="pngfix.js"></script>
<![endif]-->
<style type="text/css">
<!--
.style1 {
color: #666666;
font-size: 12px;
}
#apDiv1 {
position:absolute;
left:29px;
top:300px;
width:591px;
height:295px;
z-index:1;
}
#apDiv2 {
position:absolute;
left:227px;
top:181px;
width:588px;
height:18px;
z-index:2;
}
#apDiv3 {
position:absolute;
left:370px;
top:356px;
width:585px;
height:31px;
z-index:2;
}
-->
</style>
</head>
<body>
<!--ana tasiyici bas-->
<div id="apDiv4"></div>
<div class="ana_cont">
<div class="ic_cont" style="height:700px;">
<div style="background-image:url(images/ust.png); width:910px; height:36px;"></div>
<!--header-->
<div style="height:122px;">
<div class="header_sol"><img src="images/logo.png" width="303" height="122" /></div>
<div class="header_sag" align="right"><img src="images/kisi_icon.png" width="22" height="21" /><img src="images/main_icon.png" width="22" height="21" /><img src="images/love_icon.png" width="22" height="21" /><img src="images/mail_icon.png" width="22" height="21" /> </div>
<div style="padding-top:5px; width:468px; float:right; margin-right:25px;"><img src="images/lipton.png" width="468" height="60" /></div>
</div>
<!--header-->
<!--menu-->
<div class="menu_cont">
<a href="#"><img src="images/menu/zeka.png" width="78" height="35" border="0" /></a><a href="#"><img src="images/menu/macera.png" width="78" height="35" border="0" /></a><a href="#"><img src="images/menu/aksiyon.png" width="78" height="35" border="0" /></a><a href="#"><img src="images/menu/nisan.png" width="78" height="35" border="0" /></a><a href="#"><img src="images/menu/spor.png" width="78" height="35" border="0" /></a><a href="#"><img src="images/menu/dovus.png" width="78" height="35" border="0" /></a><a href="#"><img src="images/menu/kagit.png" width="78" height="35" border="0" /></a><a href="#"><img src="images/menu/yaris.png" width="78" height="35" border="0" /></a><a href="#"><img src="images/menu/barbie.png" width="78" height="35" border="0" /></a><a href="#"><img src="images/menu/cocuk.png" width="78" height="35" border="0" /></a><a href="#"><img src="images/menu/beceri.png" width="78" height="35" border="0" /></a></div>
<!--menu-->
<!--Giris-->
<div class="user_cont">
<div style="padding-top:5px; height:35px; padding-left:5px; width:500px; float:left">
<form id="form1" name="form1" method="post" action="">
<input name="textfield" type="text" class="myinputstyle"/>
<input name="textfield" type="password" class="myinputstyle" />
<input type="button" class="mybuttonstyle" value="Giriş" />
<span class="style1"><a href="#">Üye Ol </a>|<a href="#"> Şifremi Unuttum</a></span>
</form>
</div>
<div style="width:300px; float:right; padding-top:5px; height:35px; padding-right:5px;"> <form id="form1" name="form1" method="post" action="">
<font class="arama_label">Oyun Arama</font><input name="textfield" type="password" class="myinputstyle" />
<input type="button" class="mybuttonstyle" value="Ara" />
</form></div>
</div>
<!--Giris-->
<div class="icerik_sol">
<div class="oyun_title">
Uye Oluyorsunuz...
<div style="float:right; padding-top:3px; padding-right:15px;"></div>
</div>
<table width="74%" height="222" border="0" cellpadding="0" cellspacing="0">
<tr>
<th scope="col">
</th>
</tr>
</table>
<p> </p>
<p><br />
<br />
<br />
</p>
<div class="footer">
<div style="float:left; padding-left:5px; padding-top:10px;"><img src="images/footer_logo.png" width="113" height="33" /></div><div style="float:right; padding-top:7px; width:400px;"><span style="font-size:13px;">"© 2008 tatlioyun.net | Her hakki saklidir.</span><br />
<span class="oyun_yazi"><a href="#">Hakkimizda</a> | <a href="#">Kullanim sartlari</a> | <a href="#">Gizlilik sözlesmesi</a> | <a href="#">Yardim</a> | <a href="#">Iletisim</a> |<a href="#"> Duyurular </a></span></div>
</div>
</div>
<div class="icerik_sag" align="center">
<br />
<img src="images/google.png" width="234" height="60" />
<br /><br />
<br />
<br />
<br />
<br />
<img src="images/istatistik.png" width="254" height="29" /><br />
<span class="oyun_yazi">500 Oyun toplamda 32.547 kez oynandi,
suanda 56 uye ve 455 misafir kullanici oyunda.
Toplam 5569 uyemiz var.</span></div>
</div>
</div>
<!--ana tasiyici bit-->
<div style="background-image:url(images/ana_alt.png); width:910px; margin-left:15px; height:40px;"></div>
</body>
</html>bir böyle bakın bakalım