Forum Moderators: coopster

Message Too Old, No Replies

Make a required copyright notice.

         

paperso

7:42 pm on Feb 5, 2011 (gmt 0)

10+ Year Member



Hello!

I was wondering if you have any ideas or a sample function that will be able to do the question on the title?

See, I want to make sure clients will be required to print a copyright notice on a template or a php file. If the copyright is excluded, the function should print an error message.

<html>
<head>
</head>
<body>
{COPYRIGHT}
</body>
</html>

coopster

4:45 pm on Feb 8, 2011 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



You could always put the copyright notice in an included file, such as the footer.

rocknbil

5:16 pm on Feb 8, 2011 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I want to make sure clients will be required to print a copyright notice on a template or a php file.


If you're distributing code, someone can always modify it and remove the copyright line. One approach you can take is to have a key on a server somewhere, someone registers the software and is issued a key. Every time it runs it checks your server for the key, then or the presence of the copyright on the page - which of course would slow down the application. This is still not fail safe though, a wise coder could seek out the copyright check and remove the code that executes it.

A better way is to compile your code in an executable using C or some other compiled language, but even so a decompiler can seek it out. Best you can do is make it hard for someone to do that, or police your apps.