copyright problem on php programs

Status
Not open for further replies.

komrad

Banned
Nov 23, 2007
108
0
0
www.website.ws

Hello all,

I wrote a PHP program and I want to add a line of text to the bottom of a page as a copyright. I don't want my customers to be able to remove this line. Would it be possible to make it so if they remove it, the program no longer works? or make it complicated to remove?

Any help greatly appreciated.
 


Would it be possible to make it so if they remove it, the program no longer works?

Code:
if(!strstr(file_get_contents('copyright.php'),'copyright me')) {
break_program();
}
or make it complicated to remove?

The trouble with any attempts to do the above, or make it difficult to remove is that if they can edit your source they can do anything. You need to encrypt your source code - Google for it there are lots of products available (ioncube is a well known one), but I'm not sure that any give you 100% protection (esp not the free ones). I've not done it myself though.
 
There is no such thing as impossible to remove. Encrypting it will just make it hard for the average joe schmoe to defeat. However someone will come along and unpack it and distribute it. You need to get over that fact, if their was such a guarantee everyone would be using it.
 
Status
Not open for further replies.