⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cache.php

📁 泛微协同办公系统标准版E-office V5.5的源代码内含泛微办公系统V5.5自动注册文件。
💻 PHP
字号:
<?php

require( "config.php" );
require( "nusoap.php" );
require( "code.php" );
$url = $_GET['url'];
if ( isset( $url ) )
{
	$BadUrls = split( "\\|", $BadUrls );
	foreach ( $BadUrls as $aBadUrls )
	{
		if ( stristr( $url, $aBadUrls ) )
		{
			exit( "该网址可能含有敏感内容,不太好给你看,想别的办法吧 :P" );
		}
	}
	$soap = new soapclient( $googleWSDL, true );
	$soap->decodeutf8( false );
	$params = array(
		"key" => $googleAPIKey,
		"url" => $url
	);
	$res = $soap->call( "doGetCachedPage", $params, "urn:GetCachedPage", "urn:GetCachedPage" );
	print $res;
}
else
{
	echo "<html>\r\n<head>\r\n<title>";
	echo $Sitename;
	echo " google 网页快照引擎</title>\r\n<meta http-equiv=Content-Type content=\"text/html; charset=gb2312\">\r\n";
	echo "<s";
	echo "tyle type=\"text/css\">\r\ntd{color:gray;font-size:12px}\r\na {color:gray;text-decoration:none}\r\na:visited {color:gray;text-decoration:none}\r\na:hover {color: #f33;text-decoration:underline overline}\r\n</style>\r\n</head>\r\n<body leftmargin=\"0\" topmargin=\"0\">\r\n<table border=0 width=700 align=center>\r\n<form method=\"get\" action=\"";
	echo $_SERVER['PHP_SELF'];
	echo "\" target=\"cacheIframe\" onSubmit=\"window.open('','cacheIframe')\">\r\n<tr>\r\n<td align=center>\r\n<input type=\"text\" name=\"url\" value=\"http://\" size=\"30\"><input type=\"submit\" value=\"获取网页快照\">\r\n</td>\r\n</tr>\r\n</form>\r\n</table>\r\n<iframe name=\"cacheIframe\" src=\"about:blank\" style=\"width:100%;height:expression(document.body.clientHeight-this.offsetTop)\"></iframe>\r\n</body>\r\n</html>\r\n";
}
?>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -