I deliver content to other sites by having them put this script on their php enabled site:
//code for the Currency Exchange Calculator
$content = @file_get_contents($url);
It gets the url the script is on ($rqst), sets up the url, sends the requesting url to me and grabs the content, and prints it.
Some of my users are using pre 4.3 versions of php. I need this script redesigned for earlier versions of php. For example, I know that file_get_contents wasn't part of php before 4.3. I don't know about the server vars.
I don't want it to be an 'include', as, if I understand things correctly, that would allow me to run a script on their site, a security breach for the user. It should be something that gets the text and prints it onto their page.
A short, efficient code is preferred over long winded scripts.
Thank you, Chris