Hallo Steve,
$SCRIPT_URI wenn er das nicht will:
"http://".$HTTP_HOST.$SCRIPT_NAME wenn er das nicht will:
"http://".$HTTP_HOST.$SCRIPT_URL wenn er das nicht will:
"http://".$SERVER_NAME.$SCRIPT_NAME wenn er das nicht will:
"http://".$SERVER_NAME.$SCRIPT_URL wenn er das nicht will:
$p=explode("?",$REQUEST_URI);
"deine.wunschdomain.de".$p[0] wenn er das nicht will:
$_ENV["SCRIPT_URI"] wenn er das nicht will:
$_SERVER["SCRIPT_URI"] wenn nix davon funzelt, frage doch mal nach, ob auf dem Server PHP überhaupt läuft ;)
ein Hilfreicher Link zu diesem Theam: http://www.deine-wunschdomain.xx/phpinfo.php diese sollte folgenden Inhalt haben:
<?php
phpinfo();
?>
Gruß aus Berlin!
eddi