Jump to content

Modify every single page?!


MrXander

Recommended Posts

No, unfortunately.

 

There may be one line the same on each page, for the navigation, setting $p = $_GET['p'], for example.

The unfortunate thing is, there is forms and submit buttons, so I will also have to go through and define, for example, $submit = $_POST['submit'].

 

Is there not something I can enable on my server to get around this?

You found a script that is dependent on register globals. Register globals were turned off by default 7 years ago and have been completely removed in php6. Your choice is to fix every file or find a more up to date script that is not dependent on register globals.

 

You will also need to find and fix session problems if the script is using session_register(), session_is_registered(), and session_unregister() and any variables like $PHP_SELF that should be their corresponding $_SERVER variable.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.