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

2 Responses to “Just Say no to registered Globals”

  1. 1

    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?

  2. 2

    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.


Leave a Reply

This circle expands additional navigation
You should really buy my AJAX book.
You'll learn not only the technology you need for implementation but also an understanding that will help you get the most from AJAX.
You'll also have my eternal thanks :-)