How can I redirect page after 5 minutes

Discussion in 'Programming' started by bordello, Jul 11, 2007.

  1. #1
    Hello i have designed a html page.I want when some one open html page and after 5 minutes page will redirect to my site b.

    How can i do this?

    Please help me

    Thanks
     
    bordello, Jul 11, 2007 IP
  2. Kerosene

    Kerosene Alpha & Omega™ Staff

    Messages:
    11,366
    Likes Received:
    575
    Best Answers:
    4
    Trophy Points:
    385
    #2
    Something link this:
    
    <?php
    header("Refresh: 5; URL=http://www.domain.com");
    echo "Redirecting in 5 seconds";
    exit();
    ?>
    
    
    Code (markup):
     
    Kerosene, Jul 11, 2007 IP
  3. Karen May Jones

    Karen May Jones Prominent Member

    Messages:
    3,469
    Likes Received:
    290
    Best Answers:
    1
    Trophy Points:
    380
    #3
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <html>
    <head>
      <title>my page</title>
      [COLOR="Red"]<meta http-equiv="refresh" content="300; url=http://www.page-you-want-redirected-to.com">[/COLOR]
      <meta name="description" content="my page description">
      <meta name="keywords" content="my, key, words">
    </head>
    <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000">
    
    </body>
    </html>
    Code (markup):
    300 is how many seconds :)
     
    Karen May Jones, Jul 11, 2007 IP
  4. bordello

    bordello Notable Member

    Messages:
    3,204
    Likes Received:
    141
    Best Answers:
    0
    Trophy Points:
    290
    #4
    thanks

    to all of you

    I also want to know that how can i embled .avi or .wmv video in html page

    Thanks
     
    bordello, Jul 11, 2007 IP
  5. Karen May Jones

    Karen May Jones Prominent Member

    Messages:
    3,469
    Likes Received:
    290
    Best Answers:
    1
    Trophy Points:
    380
    #5
    Karen May Jones, Jul 11, 2007 IP
  6. jemy

    jemy Peon

    Messages:
    70
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #6

    thnks dude its work great
     
    jemy, Jul 13, 2007 IP