Users can’t complete sign up because they get Redirected. I still want to keep the Redirection because I only want people to see the site after they join.
Is there any way I can block a page from getting Redirected I am using php I am using mod from http://www.janrain.com/
I already have a log in/ log out / Register/ that work without getting Redirected I am trying to make so they can just signup with there Facebook etc… with http://www.janrain.com/
this is the code i am using that work but can’t seem to get it to work with janrain
if ((int)$_COOKIE['memberID'] == 0) {
if (
$_page['header'] != 'Join' &&
$_page['header'] != 'About Us' &&
$_page['header'] != 'Privacy Policy' &&
$_page['header'] != 'Terms of use' &&
$_page['header'] != 'FAQ' &&
$_page['header'] != 'Invite a friend' &&
$_page['header'] != 'Contact us' &&
$_page['header'] != 'Help' &&
$_page['header'] != 'Advice' &&
$_page['header'] != 'Forgot password?'
) {
header('Location: ' . BX_DOL_URL_ROOT . 'splash.php');
}
}
Maybe $_page[‘header’] not in those so it will go to splash I will give you a better way to organize your work and help you in the future
after finishing the above try to kill the page with $_page[‘header’] for debugging where we are