Just Say no to registered Globals
We all know registered globals wasn’t the brightest idea, but for those of you who need it, here is another reason to just say no to register globals
The weblog of Joshua Eichorn, AJAX, PHP and Open Source
We all know registered globals wasn’t the brightest idea, but for those of you who need it, here is another reason to just say no to register globals
This entry was posted on Tuesday, January 20th, 2004 at 10:40 am and is filed under PHP. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.
There and Back Again is proudly powered by
WordPress
Entries (RSS)
and Comments (RSS).
just curious though… i have a site that depends on passiing variables through the url, such as http://www.mysite.com?id1.
just as your site does: blog.joshuaeichorn.com/index.php?p=12. however, i do “protect” my precious variables (sessions,
forms, etc…) by using $_SESSION["variable"] and $_POST["variable"] and $_GET["variable"]. using those, i should be ok…
right?
Your correct, as long as your using _SESSION,_POST and the like your good, just make sure to keep registered globals turned off or they can be used to overwrite other php global variables.