You can easily do that with JavaScript.

if (document.location.href != "index.html"){
  document.location.href = "index.html";
}

My syntax might be screwy (haven't done JavaScript in a while) but you get
the idea.

-Mike


-----Original Message-----
From: Wade [mailto:[EMAIL PROTECTED]
Sent: Monday, March 31, 2003 6:51 PM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Redirect to Home Page


03312003 1549 GMT-6

I saw this little script somewhere and now I cannot find it.

Im working on this site. If you happen to bounce into the site from
anywhere but the home page, you are automatically redirected back to the
  home page. Can someone help me with this?

Wade


--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php





-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to