Warning: Cannot add header information - headers already sent by (output started at c:\program\apache group\apache\htdocs\adminp.php:7) in c:\program\apache group\apache\htdocs\adminp.php on line 19
Varför blir det så?
<?php
// © 2001 Björn Jonsson
require ("./config.php");
if ($HTTP_REFERER == "http://localhost/index.php") {
if ($admin == "$password") {
echo "$HTTP_REFERER";
}}
else {
Header ("Location: $errorpage");
}
?>