|
|
Joined: Jun 2004
Posts: 6
Lurker
|
Lurker
Joined: Jun 2004
Posts: 6 |
I have the following code in my header.php include file, but it's redirecting every time regardless of whether or not the "hiJacked" cookie is present. This code works fine when it's placed in a document by itself. What's up? <?php <br />if (!isset($hiJacked)) { <br />header("location:http://www.realtree.com/hiJacked/index.tpl"); <br /> exit; <br />} <br />?>
|
|
|
|
Joined: Oct 2003
Posts: 2,305
Old Hand
|
Old Hand
Joined: Oct 2003
Posts: 2,305 |
yeah redirectong on cookies is hard because the user may not have them enabled. I tried the redirerct temp via htaccess myself.
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 21,079
Joined: March 2000
|
|
Forums63
Topics37,573
Posts293,925
Members13,849
|
Most Online5,166 Sep 15th, 2019
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|
|