If it's a preference it's a bad one. Have register globals set to ON is one way of leaving your script open to being exploitable. I would suggest that if you really need to use that code then either modify it or write something from scratch and use that code as a guide line.
search php.net for register globals and the warnings associated with it. Bobby "Todd Cary" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I have noticed that quite a few applications are designed with the > assumption that "register_globals = Yes"; in other words, the > application does not use $HTTP_xxx_VARS. In contrast, I always retrieve > my vars. > > Is there a preference? > > Todd > -- > ---------------------------------------------------------------------------- ---- > I have noticed that quite a few applications are designed with the assumption that "register_globals = Yes"; in other words, the application does not use $HTTP_xxx_VARS. In contrast, I always retrieve my vars. > > Is there a preference? > > Todd > > -- > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php