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

    Return to Page 3
re: re: re: re: Manual Installation?
Aug. 21st, 2006   1:23pm

There is a short workaround to correct the "register global" problem. I haven’t had time to incorporate it into a newer version.

The quickest solution for now is to add the following lines of code at the beginning of the index.php file (after the <?php) or any other file that seems to be having the problem...

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;
  }

Phpbible doesn’t execute any user input, so there’s shouldn’t be any security problems.

Danny Carlton (72.198.64.60)


    Return to Page 3
This Thread

Post a Message
Name:

Subject:

Message:


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