מה לא בסדר בקוד הזה?
קוד:
<html dir="rtl">
<head>
<title>Icq</title>
</head>
<body>
<form method="GET" action="">
<p align="center">
<input type="text" name="d" size="13">
<input type="submit" value="Go" name="B1"></p>
</form>
<?php
$q = "icq";
if ($_GET['d'] == $q) {
header("Location: index.html/");
}
?>
</body>
</html>
אני רושם icq שולח וזה נותן לי שגיאה ולא מעביר אותי לדף index.html
זאת השגיאה:
קוד:
Warning: Cannot modify header information - headers already sent by (output started at /home/[צונזר]/domains/[x]/public_html/1.php:19) in /home/[צונזר]/domains/[x]/public_html/1.php on line 24