Untitled

mail@pastecode.io avatar
unknown
plain_text
14 days ago
630 B
1
Indexable
Never
<?php
session_start();

if($_GET) {
    if($_GET["status"]=="loginerror") {
        echo "Kullanıcı adı veya şifre hatalı!";
    }
    if($_GET["status"]=="logoff") {
        echo "Başarıyla çıkış yapıldı!";
    }
}
?>

<html>
<head>
    <title>Giriş</title>
</head>
<body>
    <form action="index.php" method="post">
        Username: <br>
        <input type="text" name="username"> <br>
        Password: <br>
        <input type="password" name="password"> <br> 
        <input type="submit" value="Login"> <br>
        <a href="kayit.php">Kayıt Ol</a>
    </form>    
</body>
</html>
Leave a Comment