Ok... I have a script which is on domain1.com and in that script it echos $_SERVER.$PHP_SELF;
That is displaying the URL and file of where the script is being executed right...
Now what I want to do though is include this script into domain2.com but I want it to echo the url and filename of domain2.com
I might not be making myself clear but basically I want to display the url of the page being viewed instead of where the script is in fact being executed.
Thanks
Comments
[PHP]$_SERVER;[/PHP]
The Royal Ram