Hey guys. I am wondering if there is a way to get the Domain Name that your scripts are running under? for example
if(getdomain() == "www.mydomain.com"){
//do this stuff
}
What I am trying to do is keep people from taking my code and running it on a different server/domain.
Of course they could always go in and erase that line of code, but the people who might be taking it don't know much about programming so I just want to prevent them from copying and pasting my code.
Thanks! 🙂