Results 1 to 4 of 4

Thread: Automatic Redirection

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    May 2006
    Posts
    8

    Default Automatic Redirection

    Hi,

    I want to put a few pages into my site that automatically redirect a user to another page (like so fast that they don't actually see the page they are being redirected from). I know this can be done cos I have seen it before but looking through a few books I have I can't find it anywhere. Maybe I'm searching for the wrong term.

    Basically it's so that I can hide the links without having to try hiding the source.

    Thanks in advance

  2. #2
    Join Date
    May 2006
    Posts
    5

    Default

    it can be done with ASP with the code:
    Response.Redirect "page.html"

    and with a meta tag in HTML (the meta goes between the <HEAD></HEAD> tags):

    Code:
    <meta http-equiv=refresh content=number_of_seconds;URL="page.html">

    glad to help :)

  3. #3
    Join Date
    Jun 2006
    Posts
    14

    Default

    Or in PHP

    header("Location: web_page_address");

    ( this works only if there is no output on the page so far as this line )

  4. #4
    Join Date
    Jun 2006
    Posts
    6

    Default

    :) i will try too, thanks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •