Can anybody guide me, how to restrict PHP script installation on 1 domain name only. Is there any tools/scripts out there that allow me to do this? I have found 1 software before but forgot the name already as time goes by.
There are several options. One is to use a PHP obfusactor and check the host variable within the obfuscated code.
Your will need: 1.) Licensing system. It is up to you whether it is licensed off of a license key, url, etc. 2.) Encoder (IonCube, ZendGaurd...). Being that PHP is open source, anything that you code and hand off to somebody else can be edited. To prevent this, you will need to encode some or all of your code. Aside from that, you can accomplish this by having your script curl out to your license server and deliver a key (url, license, etc), and your license server would send back a response code. Based on the response, your client script will proceed or shut down. Concept is fairly straight forward, but you'll need knowledge on the above mentioned items.
I have used the following in the past: 1. Good faith (generally a bad idea). 2. A good contract (generally a good idea). 3. Licensing key. 4. Zend guard encoding. I like the suggestion of a license server. You could probably even use a real simple file_get_contents("http://yourserver?hash_key=XXXXX") and respond accordingly.
Try these: http://solidphp.com/products/phpaudit/index.php http://www.ionolicensing.com/ http://phpcgishop.com/index.php?target=products&product_id=1633 Am I helpful?
Just developed and launched this site, try the free 7 days demo to see it this will work out for you. http://www.protectscripts.com
nqqb I'm gonna check that out. Btw check out taketwosolutions.com for your ecommerce processing. We specialize in ecommerce solutions for software developers. -rob