Скрипт редиректа

Discussion in 'PHP' started by andreipup, 18 Feb 2010.

  1. andreipup

    andreipup Elder - Старейшина

    Joined:
    21 Aug 2007
    Messages:
    265
    Likes Received:
    21
    Reputations:
    0
    Подскажите обычный скриптик.
     
  2. emillord

    emillord Elder - Старейшина

    Joined:
    20 Jan 2008
    Messages:
    257
    Likes Received:
    443
    Reputations:
    255
    Code:
    <html>
    <head>
      <meta http-equiv='refresh' content='0; url=../../index.php'>
     </head>
    <body>
    Пойдёт?
     
  3. Nelzone

    Nelzone Banned

    Joined:
    12 Apr 2008
    Messages:
    172
    Likes Received:
    134
    Reputations:
    6
    PHP:
    <?php
    header
    ('Location: http://www.example.com/');
    ?>
     
  4. andreipup

    andreipup Elder - Старейшина

    Joined:
    21 Aug 2007
    Messages:
    265
    Likes Received:
    21
    Reputations:
    0
    Спасибо.

    Есть что то с админкой?
    Просто урл часто менять нужно(
     
  5. Uex Urgent

    Uex Urgent Злостный Смайлик

    Joined:
    6 Feb 2009
    Messages:
    235
    Likes Received:
    461
    Reputations:
    452
    http://htmlcoder.visions.ru/HTML/?9

    тройной редирект

     
    _________________________
    #5 Uex Urgent, 18 Feb 2010
    Last edited: 18 Feb 2010