Hey. I'm making a PHP script which will be distributed to many people. Long story short, I need the PHP script to be able to detect the domain name it's hosted on. I don't know how to go about doing this. It would be appreciated if someone could point me in the right direction of how this could be done. Thx in advance.













