NeoMarine Posted June 27, 2009 Share Posted June 27, 2009 I'm curious, how can I basically set up something like: if (HTTP_HOST!="http://www.alloweddomain.com"){ die("You're using an illegal copy of this script."); } To help protect my scripts. I realize I would need to hide that section of code and even obfuscate it, which I probably can do, but I'm trying to make a "kill switch" for anyone attempting to pirate my scripts. Quote Link to comment https://forums.phpfreaks.com/topic/163881-verify-that-a-website-is-hosted-only-on-an-allowed-domain-address/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.