views:

35

answers:

1

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 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

+2  A: 

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:

Pekka
Thats a good thing because it's something i could do, except it's time consuming unless i come up with an algorythem to change everything, from, variable names, function idetifiers and most other stuff great concept.
Val