<?php

include("ayar.php");

$post_kullanici=$_POST['kullanici_adi'];
$post_sifre=$_POST['sifre'];

if($post_kullanici=="" || $post_sifre=="")
echo "Lutfen Bos Yerleri doldurun...";
else
$sorgu=mysql_query("INSERT INTO uyeler(kullanici_adi,sifre) values('$post_kullanici','$post_sifre')");

if($sorgu)
header("location : girisform.php");
else
echo "Uyelik olmadi";

?>