register_globals in php 5.4

have a site written by a student in php before 1998?
and still need to make it work on php 5.4?
and does the code rely on register_globals?

then use this:

extract($_REQUEST);

in global scope … maybe you’re lucky and fine some sort of conf.php (should be included in every other php-file)

Leave a Reply

Your email address will not be published. Required fields are marked *