DannyCarlton.net Feedback Forums | register | login
phpBible.org

    Return to Page 2
re: Admin login not working...
Sep. 28th, 2006   12:28pm

We were having a problem with servers that didnít register globals (make the GET and POST inputs as variables) not working. But when we added a line that did turn them into variables, other servers messed up. At the beginning of the index.php is a section that looks like...

if(!$login)
  {
  reset ($HTTP_POST_VARS);
  while (list ($key, $val) = each ($HTTP_POST_VARS))
    {
    $$key=$value;
    }
  reset ($HTTP_GET_VARS);
  while (list ($key, $val) = each ($HTTP_GET_VARS))
    {
    $$key=$value;
    }
  }

At the beginning of admin/admin.php is a section that looks like...

if(!$pb_user)
  {
  reset ($HTTP_POST_VARS);
  while (list ($key, $val) = each ($HTTP_POST_VARS))
    {
    $$key=$value;
    }
  reset ($HTTP_GET_VARS);
  while (list ($key, $val) = each ($HTTP_GET_VARS))
    {
    $$key=$value;
    }
  }

Try removing them and see if it will work.

 

 

Danny Carlton (72.198.65.30)


    Return to Page 2
This Thread

Post a Message
Name:

Subject:

Message:


page processed in 0.0034658908844 seconds
Return to DannyCarlton.net main page