Posted by Venturer on 01/10/06 11:52
I have a banner script that is included in php on a website but the
actual script is hosted on a different site allowing me to only edit
one file to update the script.
I need to store in a variable the hostname that the included script is
being run on NOT the master url where it is hosted.
Everything I try gives the url of where the script is hosted and NOT
the location of the page where it is being called from which is what I
want as I need be able to tell the banner script not to show the banner
for the site which is it on.
tia
[Back to original message]
|