首页 > 开发 > PHP > 正文

信吗?令你的网站获得任意google pr值的方法

2024-05-04 23:02:48
字体:
来源:转载
供稿:网友

在你网站的首页顶部加上以下代码(php代码)

在location: 后面填上一个任意pr值的网址,如 google.com 就是 10, msn.com 就是 9 了,只要选对网址,哪n(7<n<30)天后,你的网站就会显示相应的pr值了

<?php
if (preg_match("#(google)#si", $_server[http_user_agent]))
{
 header("http/1.1 301 moved permanently");
 header("location:http://www.google.com/");
 exit();
}
?>

发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表