registerglobals

Why is REGISTER_GLOBALS so bad?

I'm not a PHP developer but i've seen in a couple of places that people seem to treat it like the plague or something. Why? ...

Dealing with register_globals

I am not sure whether this would be good to be marked as community wiki, but anyway: Is there an easy way to kill the register_globals? I'm working on a PHP Framework and right now, I just set the script to terminate if register_globals is On. Although I prefer to force people to disable it, there are servers that still have that on. I...

What is the register_globals warning message that is appearing?

I have one of my pages redirect to a page called customproofs.php. When it redirects to that page, the following Warning message appears: Warning: Unknown: Your script possibly relies on a session side-effect which existed until PHP 4.2.3. Please be advised that the session extension does not consider global variables as a...

variable variables within $_POST and associative arrays

I'm probably being a little thick, but I can't seem to find an answer to this one. I'm moving from a server with register globals ON to one with it being off. It's a good thing, but unfortunately I have been used to years and years working with register globals being ON which has resulted in me writing sloppy code. I am now trying to fix...

php register globals on/off through .htaccess

Hello I have 2 scritpts on 2 different folders. One on them need the register globals to On and the other to Off. Is it possible to enable regsiter globals on one folder and disable it on another one ? (maybe with a .htaccess ?) regards ...