Protecting PHP-code

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
1. Make your code so good and general that you can resell it yourself.
A lawsuite is not what you want and a lawyers contract is worth
nothing if you are not sure you will go after them 110%.

2. Either host your own solution or get it hosted on a web hotel that
as good reputation. Simple and cheap.

3. Encrypt it somehow.  Would not be my first choice though.

  /  Axier

Re: Protecting PHP-code

Axier wrote:

Quoted text here. Click to load it

Zend has a REALLY nice way of maing your code secure. It masks the code
and will run it but not allow anyone to edit it. You give a key to the
client so that they can "unlock" and run your script. The key also has
a nice feature where you can set who the code is registred to, set how
long that the script is vaild for (i.e. 14 day trial), how many clients
can connect and use the code and a bunch of other options.

Re: Protecting PHP-code

Quoted text here. Click to load it

You probably don't want to steal any PHP code that's complex enough to be
worth stealing. To quote Rasmus Lerdorf (one of the developers of PHP), "PHP
is glue. It is the glue we use to build cool web applications by
sticking dozens of 3rd-party libraries together and making it all appear
as one coherent entity ..." Something that requires a lot of glue to hold
together is probably not every good.

Site Timeline