Ana Sayfa Community

Community

Please or Kayıt ol to create posts and topics.

PHP ile basit kullanıcı şifreli giriş kontrolü kodları

for($i=1;$i<=100;$i++)

$ad=$_POST["ad"];

$sifre=$_POST["sifre"];

if($ad== “admin”   and   $sifre
==
“123456”)

{echo
“<h2><font color='#000066'> Sayfamıza hoşgeldiniz </font></h2>";}

else

{
echo"<h2><font
color='#000066'>Kullanıcı adı veya şifresi hatalı</font></h2>”;
}

{

if($i==0)

{ echo
$i.”<br>”; }

}