PDA

Просмотр полной версии : Подкиньте php скрипт редиректа


[FREE]
04.03.2010, 23:56
Нужен самый обычный скрипт редиректа на пхп, подкиньте буду благодарен

Nelzone
04.03.2010, 23:58
тебе в другой раздел


<?php
<html>
header('Location: http://www.example.com/');
?>

emillord
04.03.2010, 23:58
<?
$URL="http://www.new.site/page.html";
header ("Location: $URL");
?>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<script language="JavaScript1.1" type="text/javascript">
<!--
location.replace("http://www.new.site/page.html");
//-->
</script>
<noscript>
<meta http-equiv="Refresh" content="0; URL=http://www.new.site/page.html">
</noscript>
</head>
<body>
Мы перебрались на <a href="http://www.new.site/page.html">новое местечко</a>.
</body>
</html>
пойдёт?

Kusto
05.03.2010, 00:01
<?php
echo "<html><head><META HTTP-EQUIV='Refresh' content ='0; URL=http://http://www.example.com</html>";
?>
как вариант))

[FREE]
05.03.2010, 00:20
emillord спасибо воспользовался

starbes
05.03.2010, 19:13
Я пользуюсь этим:

<?php $URL="http://";
header("Location:$URL");
exit();
?>