Welcome to WebmasterWorld Guest from 184.108.40.206
Forum Moderators: bakedjake
Global variables are no longer registered for input data (POST, GET, cookies, environment and other server variables). Instead of using $foo, you can use $_REQUEST["foo"] (includes any variable that arrives through the request, namely, POST, GET and cookie variables), or (preferably) use one of the specific $_GET["foo"], $_POST["foo"], $_COOKIE["foo"] or $_FILES["foo"], depending on where the input originates.
Note that register_globals ... often leads to security bugs.
If you are trying to get some third-party code to work, you will either have to go in and fix all of the incompatabilities (which could be a BIG pain!) or convince your hosting company to change the setting, as this can't be over-ridden in .htaccess.
Or you might want to consider using a more up-to-date script. :)
However, this particular directive has been deprecated and actually removed in PHP6 so now is the time to correct your code! Relying on this directive is a bad idea.