IF and page redirection
Posted: Wed Feb 07, 2007 4:54 am
Hi,
I’m not sure if i’m just getting myself confused here! I want to build a simple redirection along the lines of :
in order to control access to a page. I’m getting caught up with the headders being sent from the .inc file - however, I need the .inc file to set the variable INTERACTION_TEST. Can you help?
I’m not sure if i’m just getting myself confused here! I want to build a simple redirection along the lines of :
Code: Select all
<?php
require_once "siteDefaultsPage.inc";
if (!INTERACTION_TEST){
// redirect to new URL
}
?>