php-windows | 2003032
Date: 03/31/03
- Next message: ODCS: "Re: [PHP-WIN] Redirect to Home Page"
- Previous message: Mike Brum: "RE: [PHP-WIN] Redirect to Home Page"
- In reply to: Mike Brum: "RE: [PHP-WIN] Redirect to Home Page"
- Next in thread: ODCS: "Re: [PHP-WIN] Redirect to Home Page"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
03312003 1604 GMT-6
Can I do this without javascript? I know for a fact that a lot of our
customers do not have JS enabled. I dont.
Wade
Mike Brum wrote:
> 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:wade <email protected>]
> Sent: Monday, March 31, 2003 6:51 PM
> To: php-windows <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
- Next message: ODCS: "Re: [PHP-WIN] Redirect to Home Page"
- Previous message: Mike Brum: "RE: [PHP-WIN] Redirect to Home Page"
- In reply to: Mike Brum: "RE: [PHP-WIN] Redirect to Home Page"
- Next in thread: ODCS: "Re: [PHP-WIN] Redirect to Home Page"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

