this helps if you want to make these old scripts working with register globals off ...

since PHP version 4.2 you can't get POST or GET variables like you could in the old versions.
So to use your old scripts you either would have to rewrite the whole thing (which would be the more secure solution), but sometimes this is a lengthy procedure.
This is where this snippet jumps in.
Place this on top of all the files and it will get your variables.

copy the code of html and code / extract vars

click here to select all the code