I need to create a PHP script that works more or less like a licence activation key, once activated then you are good.
I have a main site (My website), and 开发者_C百科I have clients site (Licence Holder Website/also where the php script should be held)
I was thinking would cURL Library be my solution to this? or not?
or if anyone has a better solution you are welcomed... also you can ask questions if you are unclear.
Thanks
If you want to implement a secure licensing process (i.e. one that can't be fooled by just removing the cURL call from your source code) then what you are probably looking for is PHP source code obfuscation or encryption. There are related SO questions:
PHP Source Encryption - Effectiveness and Disadvantages
Best solution to protect PHP code without encryption
精彩评论