By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,949 Members | 890 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,949 IT Pros & Developers. It's quick & easy.

Protecting PHP-code

P: n/a
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
Jul 17 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a

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


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.

Jul 17 '05 #2

P: n/a
Why do you guys want to protect your code?

Do you have something to hide?
Is it so bad you don't want any fellowprogrammers to see it?

Think positive: Maybe they will improve it, and you get yourself better
code.

I am serious.
I think all people who use PHP should first read Richard Stallman:
http://www.gnu.org/philosophy/free-sw.html

Actually: everybody should read Stallman.

Regards,
Erwin Moller
Jul 17 '05 #3

P: n/a
"Axier" <jf****@hotmail.com> wrote in message
news:ae*************************@posting.google.co m...
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


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.
Jul 17 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.