reGlobal 1.0
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.
reGlobal 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.
More popular HTTP
- Find Browser 1.0 (4 years, 3 months 25 days ago)
- cURL 1.0 (4 years, 8 months 4 days ago)
- PHP Cookie Class 1.0 (4 years, 8 months 2 days ago)
- Curl Based HTTP Client 1.2 (5 years, 3 months 6 days ago)
- REST Client 1.0 (3 years, 10 months 23 days ago)
Listing Files

reGlobals.php- 3.2 KB
- 11/05/2008 14:48:55

reGlobals.html- 2.1 KB
- 11/05/2008 14:48:55

example.php- 3.1 KB
- 11/05/2008 14:48:55
- FREE MySQL Cloud Database Super Simple, Zero-Management MySQL Cloud DB. Use It FREE!
- Pinterest clone Start your own pin board social network today. Get Pintastic and start your own pinterest clone network.
- MYRE Real Estate Software Professional Real Estate solutions by MYREPHP PROGRAMMING!
