You are here: How to get url of current url from included script on different server « PHP Programming Language « IT news, forums, messages
How to get url of current url from included script on different server

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация