[PHP] Hilfe. POST wird nich übergeben..
Formular :
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=windows-1250">
<title></title>
</head>
<body>
<center>
<table background="src/bg.jpg" width="500" height="200" cellpadding="0" cellspacing="0">
<tr>
<td align="center" valign="center">
<form action="login.php" method="POST">
Dein Username:
<input type="text" size="24" maxlength="50" name="krs">
Dein Passwort:
<input type="password" size="24" maxlength="50" name="pwd">
<input type="submit" value="Login">
</form>
</td>
</tr>
<table>
</center>
</body>
</html>
Login.php auschnitt:
Code:
<?php
include'../mysql.php';
$username = $_POST['krs'];
$passwort = $_POST['pwd'];
if($passwort=""){ EXIT; }
if($username=""){ EXIT; }
echo $username."
".$passwort."
";
?>
server : bplaced.net
hab auch schon aus $_POST['krs']; -> $_POST["krs"]; gemacht aber iwie gibt er nichs aus..