redirect

  • 17 years ago

    I need someone to create a redirection script for me in Java Script or PHP. Basically I want it to redirect you to a different page when you enter the home page. I want it to do it fast without notifying you, also it needs to be compatible with Netscape and Internet explorer.

  • 17 years ago

    Not sure about PHP, but in ASP:

    Code:
    response.redirect "page"

    in JavaScript (client-side):
    Code:
    window.location.href = "";

    in HTML (in the HEAD tag):
    Code:
    <META HTTP-EQUIV="REFRESH" CONTENT="0;url=page" />


    The ASP code is standard, and I'm fairly sure the others are universal.

Post a reply

Enter your message below

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“The greatest performance improvement of all is when a system goes from not-working to working.” - John Ousterhout