dj technics
Gebruiker
- Lid geworden
- 1 sep 2007
- Berichten
- 367
dit is een deel van mijn script
en dit is de output
kan iemand mij vertellen wat ik fout doe?
bedankt
dj technics
PHP:
if( $bInfo['passwd'] == $_POST['passwd'] ){
header ("location: http://**.***.***.***/spoor6/admin/login2.php");
} else {
echo '<br>de door u ingevoerde gebruikersnaam/passwoord komen niet overeen';
echo '<form action="login.php" method="post">';
echo '<p>gebruikersnaam:';
echo '<input type="text" name="user_id">';
echo '<br>passwoord:';
echo '<input type="password" name="passwd">';
echo '<br><input type="submit" name="verzenden" value="verzenden!"';
echo '</form>';
}
en dit is de output
HTML:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Naamloos document</title>
</head>
<body>
<p align="center"><h1>inloggen admin pagina</h1></p>
<br />
<b>Warning</b>: Cannot modify header information - headers already sent by (output started at /var/www/spoor6/admin/login.php:9) in <b>/var/www/spoor6/admin/login.php</b> on line <b>21</b><br />
</body>
</html>
kan iemand mij vertellen wat ik fout doe?
bedankt
dj technics