<!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>OS-History - Error 404 - Sie werden weitergeleitet - Youre being redirected</title>
</head>
<body>
<?php
if($_GET['mail']==true)
{
echo ("Fehlende Seite, http://".$_SERVER["HTTP_HOST"].$_SERVER["REQUEST_URI"]);
}
else
{
if($_SERVER['HTTP_REFERER']==true)
mail("meine email", "Automatische 404-Meldung", "Die Fehlermeldung war auf Seite http://".$_SERVER["HTTP_HOST"].$_SERVER["REQUEST_URI"].", der Referrer war http://".$_SERVER['HTTP_REFERER']."?mail=true");
if($_SERVER['HTTP_REFERER']==false)
mail("meine email", "Automatische 404-Meldung", "Die Fehlermeldung war auf Seite http://".$_SERVER["HTTP_HOST"].$_SERVER["REQUEST_URI"]."?mail=yes");
echo ("<meta http-equiv=\"Refresh\" content=\"0; URL=http://www.os-history.de/index.html\">");
}
?>
</body>
</html>
das problem ist, dass er die daten nicht aus der url holt, wenn da steht "blablabla?mail=true" ignoriert er das einfach...
woran kann das liegen?