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:
in global scope … maybe you’re lucky and fine some sort of conf.php (should be included in every other php-file)