When register_globals option is On in php.ini, PHP automatically fills variables like $userName with $HTTP_GET_VARS["username"], and so on. As it represents a security concern, the default value of this option is Off since PHP version 4.2.
This class provides two solutions to emulate the setting of register_globals On under PHP installations that have it disabled.
The first solution consists assigning the respective request global variables for the pages that depend on the effect of having register_globals option enabled.
The second solution consists on modifying consists on modifying automatically the current script source code to include statements that require the assignment of some global variables so this class is no longer needed.
See the PHP manual on the risks of having the register_globals option enabled.
|
|
| Name: |
reGlobal |
| Base name: |
reglobal |
| Description: |
Register request vars when register_globals is off |
| Version: |
- |
| PHP version: |
- |
| License: |
GNU Lesser General Public License (LGPL) |
| All time users: |
545 users |
| All time rank: |
4705 |
| Week users: |
0 users |
| Week rank: |
2197  |
| |
|
| There are not enough user ratings to display for this class. |
| |
Applications that use this class |
|
|

If you know an application of this package, send a message to the
author to add a link here.
| |
Files |
|
|