Parašė citni· 2010 Geg. 24 08:05:10
#1
Kai parašau kurnonrs postą man va ką rašo:
Warning: Cannot modify header information - headers already sent by (output started at /home/fatalzone/domains/fatalzone.lt/public_html/subheader.php:29) in /home/fatalzone/domains/fatalzone.lt/public_html/maincore.php on line 230
// Redirect browser using the header function
function redirect($location, $type="header") {
if ($type == "header") {
header("Location: ".$location);
} else {
echo "<script type='text/javascript'>document.location.href='".$location."'</script>\n";
}
}
230 eilutė:
header("Location: ".$location);
Redagavo citni· 2010 Geg. 24 13:05:38