|
Basically I receive a piece of code from an advertiser, and it needs to be pasted into a website. The code includes a "require 'www.something.com?id=xx?method=banner?etc...'"
I'd like to extract the variables included in the URL, like the ID and method in the above example. I don't know how to do that when I'm simply given the 'require' line. I can ask the provider to send it down as a variable and process that, but I am not sure if this is an option, and even if, would like to work as much as possible with the existing setup.
I have a feeling the answer to this question is that there is no way to "recall" via PHP, what 'require' calls have just been made... the only way to extract the variables will be if I can get the URL in the form of a variable that can be used for processing/parsing, or something similar...
|