Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6895299
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T06:53:28+00:00 2026-05-27T06:53:28+00:00

Users can’t complete sign up because they get Redirected. I still want to keep

  • 0

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');
}
}
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T06:53:29+00:00Added an answer on May 27, 2026 at 6:53 am

    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

        $pages = array("Join", "About Us", "Privacy Policy", "Terms of use","FAQ","Invite a friend","Contact us","Help","Advice","Forgot password?");
        if ((int)$_COOKIE['memberID'] == 0):
             if (!in_array($_page['header'],$pages):
                header('Location: ' . BX_DOL_URL_ROOT . 'splash.php');
             endif; 
        endif; 
    

    after finishing the above try to kill the page with $_page[‘header’] for debugging where we are

    die($_page['header']); //just for debug 
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My users can change the Locale within the app (they may want to keep
users can sign up to my site and get a standard url (username.teamgeisthq.com) from
I want that my users can read my sqlite database still in 10 years,
i want users can log in my website throw FB connect ON MOBILE but
I have an application where multiple users can login(not simultaneously though!only a single user
I'm developing a web app where users can get coupons and similar things. I
I want to create an website where users can create their own teaching resources,
Users can easily rename special folders like Computer, Network etc. to whatever they like.
Users can upload files to the server, which are stored effectively forever. I want
Users can do advanced searches (they are many possible parameters): /search/?query=toto&topic=12&minimumPrice=0&maximumPrice=1000 I would like

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.