# Name: PHP+Ajax 网站SEO查询工具
# Author: 年华<nianhua.liu@gmail.com> [Q:4908220]
# Homepage:http://master8.net
使用说明:
1.服务器必须至少支持allow_url_fopen,curl,fsockopen中的一种,具体请咨询服务器管理员。
2.请尊重别人的劳动成果!你可以任意修改并使用此程序,但不允许修改后公开发布!传播此程序亦应保持此压缩包完整性!
3.如果在使用中遇到任何问题,请访问http://master8.net/bbs/提出以便得到解决。
ajax.js
复制代码 代码如下:
// Name: PHP+Ajax 网站SEO查询工具
// Author: 年华<nianhua.liu@gmail.com> [Q:4908220]
// Notice: Use It After READ readme.txt
// (c) 2007 www.master8.net
var xmlHttp;
function makeRequest(queryString) {
var msXml = new Array();
msXml[0] = "Microsoft.XMLHTTP";
msXml[1] = "MSXML2.XMLHTTP.5.0";
msXml[2] = "MSXML2.XMLHTTP.4.0";
msXml[3] = "MSXML2.XMLHTTP.3.0";
msXml[4] = "MSXML2.XMLHTTP";
if (window.xmlHttpRequest) {
xmlHttp = new XMLHttpRequest();
} else {
for (var i = 0; i < msXml.length; i++) {
try {
xmlHttp = new ActiveXObject(msXml[i]);
break;
} catch (e) {
xmlHttp = new xmlHttpRequest();
}
}
}
xmlHttp.onreadystatechange = getRequest;
xmlHttp.open('post', 'seo.php', true);
xmlHttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
xmlHttp.send(queryString);
}
function getRequest() {
if(xmlHttp.readyState==4) {
if(xmlHttp.status==200) {
$('seo_result').innerHTML = xmlHttp.responseText;
}
}
}
seo.php
复制代码 代码如下:
<?php
# Name: PHP+Ajax 网站SEO查询工具
# Author: 年华<nianhua.liu@gmail.com> [Q:4908220]
# Notice: Use It After READ readme.txt
# (c) 2007 www.master8.net
define('IN_SEO', TRUE);
error_reporting(E_ERROR);
set_time_limit(0);
isset($_SERVER['HTTP_REFERER']) or exit('Invalid Request');
preg_match("/".$_SERVER['HTTP_HOST']."/i", $_SERVER['HTTP_REFERER']) or exit('Access Denied');
header("Content-Type:text/html;charset=gb2312");
include './robot.php';
require './function.php';
@extract($_POST);
isset($job) && isset($domain) or exit('Invalid Request');
$domain = strtolower($domain);
is_domain($domain) or exit('Invalid Domain');
$jobs=array('google','baidu','yahoo','msn','sogou','iask','so163','zhongsou','vnet');
$result = '';
if(in_array($job, $jobs))
{
$result = get_seo_info($domain, $job);
}
elseif($job == 'alexa')
{
$result = Alexa($domain);
}
elseif($job == 'chinarank')
{
$result = ChinaRank($domain);
}
elseif($job == 'pagerank')
{
$result = '<img src="/UploadFiles/2021-04-02/pagerank'.PageRank($domain).'.gif"> if(substr($domain, 0, 4) == 'www.')
{
$domain = substr($domain, 4);
$result.= ' <img src="./images/pagerank'.PageRank($domain).'.gif"> }
}
elseif($job == 'sogourank')
{
$result = sogouRank($domain).' '.$domain;
if(substr($domain, 0, 4) == 'www.')
{
$domain = str_replace("www.", '', $domain);
$result = $result.' '.sogouRank($domain).' '.$domain;
}
}
!empty($result) or exit('Invalid Request');
echo '<img src="/UploadFiles/2021-04-02/yes.gif">?>
123下一页阅读全文
# Author: 年华<nianhua.liu@gmail.com> [Q:4908220]
# Homepage:http://master8.net
使用说明:
1.服务器必须至少支持allow_url_fopen,curl,fsockopen中的一种,具体请咨询服务器管理员。
2.请尊重别人的劳动成果!你可以任意修改并使用此程序,但不允许修改后公开发布!传播此程序亦应保持此压缩包完整性!
3.如果在使用中遇到任何问题,请访问http://master8.net/bbs/提出以便得到解决。
ajax.js
复制代码 代码如下:
// Name: PHP+Ajax 网站SEO查询工具
// Author: 年华<nianhua.liu@gmail.com> [Q:4908220]
// Notice: Use It After READ readme.txt
// (c) 2007 www.master8.net
var xmlHttp;
function makeRequest(queryString) {
var msXml = new Array();
msXml[0] = "Microsoft.XMLHTTP";
msXml[1] = "MSXML2.XMLHTTP.5.0";
msXml[2] = "MSXML2.XMLHTTP.4.0";
msXml[3] = "MSXML2.XMLHTTP.3.0";
msXml[4] = "MSXML2.XMLHTTP";
if (window.xmlHttpRequest) {
xmlHttp = new XMLHttpRequest();
} else {
for (var i = 0; i < msXml.length; i++) {
try {
xmlHttp = new ActiveXObject(msXml[i]);
break;
} catch (e) {
xmlHttp = new xmlHttpRequest();
}
}
}
xmlHttp.onreadystatechange = getRequest;
xmlHttp.open('post', 'seo.php', true);
xmlHttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
xmlHttp.send(queryString);
}
function getRequest() {
if(xmlHttp.readyState==4) {
if(xmlHttp.status==200) {
$('seo_result').innerHTML = xmlHttp.responseText;
}
}
}
seo.php
复制代码 代码如下:
<?php
# Name: PHP+Ajax 网站SEO查询工具
# Author: 年华<nianhua.liu@gmail.com> [Q:4908220]
# Notice: Use It After READ readme.txt
# (c) 2007 www.master8.net
define('IN_SEO', TRUE);
error_reporting(E_ERROR);
set_time_limit(0);
isset($_SERVER['HTTP_REFERER']) or exit('Invalid Request');
preg_match("/".$_SERVER['HTTP_HOST']."/i", $_SERVER['HTTP_REFERER']) or exit('Access Denied');
header("Content-Type:text/html;charset=gb2312");
include './robot.php';
require './function.php';
@extract($_POST);
isset($job) && isset($domain) or exit('Invalid Request');
$domain = strtolower($domain);
is_domain($domain) or exit('Invalid Domain');
$jobs=array('google','baidu','yahoo','msn','sogou','iask','so163','zhongsou','vnet');
$result = '';
if(in_array($job, $jobs))
{
$result = get_seo_info($domain, $job);
}
elseif($job == 'alexa')
{
$result = Alexa($domain);
}
elseif($job == 'chinarank')
{
$result = ChinaRank($domain);
}
elseif($job == 'pagerank')
{
$result = '<img src="/UploadFiles/2021-04-02/pagerank'.PageRank($domain).'.gif"> if(substr($domain, 0, 4) == 'www.')
{
$domain = substr($domain, 4);
$result.= ' <img src="./images/pagerank'.PageRank($domain).'.gif"> }
}
elseif($job == 'sogourank')
{
$result = sogouRank($domain).' '.$domain;
if(substr($domain, 0, 4) == 'www.')
{
$domain = str_replace("www.", '', $domain);
$result = $result.' '.sogouRank($domain).' '.$domain;
}
}
!empty($result) or exit('Invalid Request');
echo '<img src="/UploadFiles/2021-04-02/yes.gif">?>
123下一页阅读全文
免责声明:本站文章均来自网站采集或用户投稿,网站不提供任何软件下载或自行开发的软件!
如有用户或公司发现本站内容信息存在侵权行为,请邮件告知! 858582#qq.com
桃源资源网 Design By www.nqtax.com
暂无“PHP+Ajax 网站SEO查询工具 提供代码第1/3页”评论...
RTX 5090要首发 性能要翻倍!三星展示GDDR7显存
三星在GTC上展示了专为下一代游戏GPU设计的GDDR7内存。
首次推出的GDDR7内存模块密度为16GB,每个模块容量为2GB。其速度预设为32 Gbps(PAM3),但也可以降至28 Gbps,以提高产量和初始阶段的整体性能和成本效益。
据三星表示,GDDR7内存的能效将提高20%,同时工作电压仅为1.1V,低于标准的1.2V。通过采用更新的封装材料和优化的电路设计,使得在高速运行时的发热量降低,GDDR7的热阻比GDDR6降低了70%。