Search code examples
phphtmlfootercopyright-display

Non-removable copyright text in footer


I am developing a website for a small company and have added the copyright for their company and next to it saying it was designed by my company.

The HTML code:

<p>Copyright © 2012 Teguise Broker | Designed by <?php include 'copyright.php'; ?></p>

The PHP code:

<?php echo "<a href='http://www.my-company.org'>My Company</a>"; ?>

What I want to do is try and make the HTML code non-removable or if they do try to remove it, the page doesn't display. Help would be really appreciated.


Solution

  • There is no way to absolutely stop them if they have access to the source code. The best you can do is make it difficult for them to remove it. A PHP obfuscator would be the best way to complicate it for them. But see this answer for why you shouldn't bother.