Форум АНТИЧАТ

Форум АНТИЧАТ (https://forum.antichat.xyz/index.php)
-   Болталка (https://forum.antichat.xyz/forumdisplay.php?f=46)
-   -   Подкиньте php скрипт редиректа (https://forum.antichat.xyz/showthread.php?t=184036)

[FREE] 04.03.2010 23:56

Подкиньте php скрипт редиректа
 
Нужен самый обычный скрипт редиректа на пхп, подкиньте буду благодарен

Nelzone 04.03.2010 23:58

тебе в другой раздел

PHP код:

<?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();
?>


Время: 22:40