[Tickets #10062] /lib/core.php: register_globals check

bugs at horde.org bugs at horde.org
Mon May 9 14:04:01 UTC 2011


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/10062
------------------------------------------------------------------------------
  Ticket             | 10062
  Created By         | alessandro.dellavedova at gmail.com
  Summary            | /lib/core.php: register_globals check
  Queue              | Horde Framework Packages
  Version            | Git master
  Type               | Bug
  State              | Unconfirmed
  Priority           | 2. Medium
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


alessandro.dellavedova at gmail.com (2011-05-09 14:04) wrote:

Dear Sirs,

I'm using the very latest release of Horde Framework (4.0.2) under PHP  
5.3.6 and this check inside /lib/core.php fails:

if (ini_get('register_globals')) {
     exit('Register globals is enabled. Exiting.');
}

I've put the following lines before the check and the register_globals  
in the php.ini is OFF (I double checked also via phpinfo):

var_dump (ini_get('register_globals'));
exit;

The output is:

string(3) "off"

Am I missing something or maybe the check is expecting a numeric value  
instead of a string ?

Thank you,

Alessandro






More information about the bugs mailing list