百度空间发布时返回的代码,给看看是什么意思啊?
<!--STATUS OK--><html><head><meta http-equiv=content-type content="text/html; charset=gb2312"><title> </title>
<link rel="stylesheet" type="text/css" href="/space.css">
<style type="text/css">
body{margin:4px 10px 0 10px;background-color:#FFFFFF}
form{margin:0}
td{color:#333333}
td,div{font-size:12px;line-height:18px}
a:link{color:#0033CC}
a:visited{color:#800080}
.c{color:#7777CC}a.c{color:#7777CC}a.c:visited{color:#7777CC}
.ft{clear:both;height:20px;line-height:20px;color:#666666;font-size:12px;font-family:Arial;text-align:center}
.tithd{margin-bottom:2px;padding-left:10px;height:24px;line-height:24px;background:#DEEEF4;font-size:14px;font-weight:bold}
.f14{font-size:14px}
</style>
<script language="JavaScript">
<!--
function writestr(str)
{
document.getElementById("strid").innerHTML=str;
}
function to(url){
window.location.href=url;
}
function gotourl(url){
setTimeout("to('"+url+"')",1000);
}
function writedetail(str){
document.getElementById("errdetail").innerHTML=str;
}
//-->
</script>
</head>
<body>
<center>
<div id="iframeBox"></div>
<div id="main" align="left">
<!-->
<script>
var objmain = document.getElementById("main");
function updatesize(){ var bodyw = window.document.body.offsetWidth; if(bodyw <= 790) objmain.style.width="772px"; else if(bodyw >= 1016) objmain.style.width="996px"; else objmain.style.width="100%"; }
updatesize(); window.onresize = updatesize;
</script>
<!-->
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr><td width="146" valign="top"><a href=""><img src="http://img.baidu.com/img/logo-hi.gif" border="0"></a></td>
<td valign="bottom"><div class="tithd"> </div></td></tr></table>
<div style="margin:10px 0 0 20px;line-height:24px" class="f14">
<br>
<div id="strid" class="f14"></div>
<div id="errdetail" class="f14">
<!--/////////////////////////////////////////////////////////////////////////////////////////-->
</div>
<!-- //无权限 -->
<script language="javascript">
<!--
//var ref = ''; 没有办法拿到refer, 所以仅仅是判断如果该页面被嵌套了, 就弹出登录框。
//if((top.location != self.location) && (ref.indexOf('creat/blog') != -1 || ref.indexOf('modify/blog') != -1)){
/*
session 失效处理,暂时无用
var urlArr=self.location.href.split("/");
if(urlArr=="upload") {document.domain="baidu.com";}
*/
// for 分享平台
function excParentFun(fun)
{
var ifr=document.createElement("iframe");
ifr.src="http://act.hi.baidu.com/ui/text/dofun.html?fun="+fun+"&t="+Math.random();
ifr.style.display="none";
document.getElementById("iframeBox").appendChild(ifr);
}
if(self.location != top.location){try{top.relogin();}catch(e){try{document.domain="baidu.com";top.relogin();}catch(e){try{excParentFun("relogin"); /*excParentFun("gPopClose");*/}catch(e){}}}
}else{
writestr("对不起您没有访问该部分内容的权限。<br>页面将跳转到空间主页");
gotourl("http://hi.baidu.com/index.htm");
}
//-->
</script>
<br><br><br><br>
</div>
<br><center><div id="ft">© Baidu</div></center>
</div>
</center>
</body></html> 是不是COOKIE没有弄对
页:
[1]