I just need the couple lines of code that i can add to a script prior to encrypting the files to lock a script to a domain name. Just need the code and simple instructions. We can do the work.
I am looking just for code such as
if ($_SERVER['HTTP_HOST'] != "[login to view URL]") {
die ("This is the wrong domain");
}
but such that it works for [login to view URL] and without www.