页脚中不可删除的版权文本 [英] Non-removable copyright text in footer

查看:69
本文介绍了页脚中不可删除的版权文本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在为一家小公司开发一个网站,并为其公司添加了版权,并在其旁边说这是我公司设计的.

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.

HTML代码:

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

PHP代码:

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

我想做的是尝试使HTML代码不可移动,或者如果他们尝试删除HTML代码,则该页面不会显示. 帮助将不胜感激.

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.

推荐答案

如果他们可以访问源代码,则无法绝对阻止他们.您能做的最好的事情就是让他们很难将其删除. PHP混淆器将是使它们复杂化的最佳方法.但是请参阅此答案以了解为什么您不应该打扰.

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.

这篇关于页脚中不可删除的版权文本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆