Skeleton adlı üyeden alıntı:
Yukardaki çalışıyor olması lazım. Eğer o mesajı veriyor ise $username ve $password boş geliyordur.
sifre.html dosyası
<html>
<head>
<meta equiv="Content-type" content="text/html"; charset=windows-1254">
<title>Kullanıcı Girişi</title>
<head>
<body>
<form action="sifreleme.php" method="post">
Kullanıcı Adı:<input type="text" name="username"><br>
Şifre :<input type="password" name="password"><br>
<input type="submit" value="Gir">
</body>
</html>