Hi,
ich habe das jetzt so gemacht:
$host = "http://".$_SERVER['HTTP_HOST'];
$ordner = dirname($_SERVER['PHP_SELF']);
if(strlen($ordner)==1) $ordner = substr($ordner,1);
$path = $host.$ordner."/editnews.php";
header("Location: ".$path);
oder gibts noch ne bessere variante?