View Single Post
Old 02-26-2007, 01:39 PM   #3 (permalink)
bytech
Inactive
 
bytech's Avatar
 
Join Date: 10-13-03
Location: Manitoba, Canada
Posts: 573
iTrader: 0 / 0%
Latest Blog:
None

bytech is just really nicebytech is just really nicebytech is just really nicebytech is just really nicebytech is just really nicebytech is just really nicebytech is just really nicebytech is just really nicebytech is just really nicebytech is just really nice
Send a message via Skype™ to bytech
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...
bytech is offline   Reply With Quote