_giles_ Posted February 7, 2007 Share Posted February 7, 2007 Hi, I’m not sure if i’m just getting myself confused here! I want to build a simple redirection along the lines of : <?php require_once "siteDefaultsPage.inc"; if (!INTERACTION_TEST){ // redirect to new URL } ?> 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? Quote Link to comment Share on other sites More sharing options...
trq Posted February 7, 2007 Share Posted February 7, 2007 Does siteDefaultsPage.inc really need to output anything to the browser? delete any whitespace outside of <?php tags and try again. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.