Ich zitiere mal aus dem Quelltext der
DP (also dem aus phpBB
):
Code:
// Redirect via an
HTML form for PITA webservers
if (@preg_match('/Microsoft|WebSTAR|Xitami/', getenv('SERVER_SOFTWARE')))
{
header('Refresh: 0;
URL=' . $server_protocol . $server_name . $server_port . $script_name . $
url);
echo '<!DOCTYPE
HTML PUBLIC "-//
W3C//DTD
HTML 4.01 Transitional//EN"><
html><head><meta http-equiv="Content-Type" content="text/
html; charset=iso-8859-1"><meta http-equiv="refresh" content="0;
url=' .$
url . '"><title>Redirect</title></head><body><div align="center">If your browser does not support meta redirection please click [
url="' . $
url . '"]HERE[/
url] to be redirected</div></body></
html>';
exit;
}
// Behave as per HTTP/1.1 spec for others
header('Location: ' . $
url);
$
url enthält die neue
URL (was 'ne Überraschung. )
Daniel R. Wolf
mit Grüßen aus Hamburg