<?
ob_start( );
session_start( );
include( "ayarlar.php" ); 
if ( $_POST['uye'] )
{
    $_SESSION['rumuz'] = $_POST['rumuz'];
    $sifre = md5( $_POST['sifre'] );
    $uye_kontrol = mysql_query( "SELECT rumuz, sifre  FROM uyeler WHERE rumuz='{$_POST['rumuz']}' AND sifre='{$sifre}'" );
    $uye_mevcut = mysql_num_rows( $uye_kontrol );
    $uyeler = mysql_fetch_array( $uye_kontrol );
    if ( $_POST['rumuz'] == "" )
    {
        echo "<script language=\"javascript\">alert('Rumuz Girmelisiniz!...');</script>";
    }
    else if ( strlen( $_POST['sifre'] ) == "" )
    {
        echo "<script language=\"javascript\">alert('Şifre girmediniz');</script>";
    }
    else if ( empty( $uye_mevcut ) )
    {
        echo "<script language=\"javascript\">alert('Hatalı rumuz veya şifre girişi');</script>";
    }
    else
    {
        if ( !header( "Location:uye.php" ) )
        {
            exit( "Sayfa Yönendilirken sorun oluştu.." );
        }
    }
}
?>
<HTML><TITLE><<| xxxxxxx |>></TITLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-9">
</HEAD>
<BODY>
<form name="formuye" method="post" action="">
kullanıcıadı
<input class="textbox2" size="15" name="rumuz" style="font-weight: bold; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" />
Şifreniz
<input class="textbox2" size="15" type="password"  name="sifre" style="font-weight: bold; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" id="sifre"/>
<input name="uye" type="submit" class="button" id="uye" style="font-size: 10pt; background: #FF8000; ; float:right; color:#FFFFFF; lang="tr" value="Giris!" />
      </form>
</BODY></HTML>
buyur dostum.