If I have a page:
www.web-site.com/PHP/hello.php
and on hello.php would like to display the domain name (www.web-site.com) on its own how would I do that?
I can't just type it in because the script is one which will be distributed to others as a package and i would like it to display the owner's domain name.
[man]gethostbyaddr()[/man] and [man]gethostbyname()[/man] give me the ISP addresses rather than domain and thats what i was told to look at??