русский
Germany.ruForen → Архив Досок→ Webdesign und Hosting

.php header - Location

31.10.08 22:50
Re: .php header - Location
 
Zahar знакомое лицо
Zahar
in Antwort Sergo2008 31.10.08 10:24
Это точно железно работающий код!
<?php
$url=$_SERVER['HTTP_HOST'];
if (($url=='www.zahar.de')||($url=='zahar.de')) {header("Location: http://www.zahar.de/zahar/news/index.php");}
else{ header("Location: http://www.zahar.de/bigmir/news/index.php");}
?>
Java код пока скрыл
СПАСИБО!
 

Sprung zu