config file virtualization and config file caller interception

I have a PHP script that is encrypted with Ion Cube. Since I don’t want to violate the license, I can’t modify anything in the script.
The script makes calls to an XML based config file.
I want to create a database to store the config data and then feed it to the encrypted script based on the referer URL that made the request.
Basically, I want to “virtualize” the config XML file so I can feed the encrypted script the data I want based on the referer URL.

Any ideas?

Does the XML file have a path that you can set? Or does it use one xml file of its own choosing?

Sponsor our Newsletter | Privacy Policy | Terms of Service