新人初学者,有个地方不懂,望指教! <script type="text/javascript" src="http://tj.ranknowcn.com/tj/t.php?site=709"></script>t.php?site=709是什么啊?能找到这个文件,但是打不开! 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 “打不开” 要具体描述这是一个由php程序根据site参数输出不同js代码的文件 浏览器地址栏加入 http://tj.ranknowcn.com/tj/t.php?site=709就可得到if(typeof(RN_LOADED)=='undefined'){ var RN_LOADED = 1; (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = 'http://tj.ranknowcn.com/tj/t.js.php?site=709&url='+encodeURIComponent(document.location)+'&rnd=1421910611.7041'; setTimeout(function(){ var s = document.getElementsByTagName('HEAD')[0]; if(s) s.parentNode.insertBefore(ga, s); },1) })();}/////////// 2012-10-19 /////////////////*var metis_img = new Image;window.global_random = +new Date();metis_img.src = 'http://stats.yqing.cn/pv2.gif?s=' + window.global_random;*/var metis_protocol = "https:" == document.location.protocol ? "https:": "http:";window.global_random = +new Date();var metis_stat = function(){ this.stat_server = 'http://stats.yqing.cn/pv.gif?' this.site_id = 709; this.cookie_pre = 'METIS_COOKIE_STAT'; this.uri = document.location.href; this.referrer = document.referrer;}metis_stat.prototype = { init:function(){ this.getUid(); this.getLanguage(); this.getScreen(); this.log(); }, getUid:function(){ var cookie = document.cookie; var m = cookie.match(/METIS_COOKIE_STAT_USER=([^;]+);?/) if (m) { this.uid = m[1]; this.is_new = 0; }else{ var guid = this.GUID(); document.cookie = this.cookie_pre + "_USER=" + guid + "; expires=Fri, 3 Aug 2099 00:00:00 UTC; path=/"; this.uid = guid; this.is_new = 1; } }, GUID:function() { var S4 = function () { return Math.floor( Math.random() * 0x10000 ).toString(16); }; return ( S4() + S4() + S4() + S4() + S4()+ S4()+ S4()+ S4() ); }, getLanguage: function() { this.lg = navigator.systemLanguage || navigator.language; this.lg = this.lg.toLowerCase(); }, getScreen: function() { this.screen = screen.width + "x" + screen.height; }, log:function(){ var img = new Image; var self = this; var args = ['sid='+self.site_id,'l='+encodeURIComponent(self.uri),'r='+encodeURIComponent(self.referrer),/*'b='+self.browser,'v='+self.version,'p='+self.platform,*/'u='+self.uid,'la='+self.lg,'s='+self.screen,'t='+parseInt(new Date() / 1000),'n='+self.is_new,'ra='+window.global_random]; img.src = self.stat_server + args.join('&'); }};var metis__stat = new metis_stat;metis__stat.init();/*var metis_img2 = new Image;metis_img2.src = 'http://stats.yqing.cn/pv3.gif?s=' + window.global_random;*/ php 数组挑错中…… 本人新手勿怪 寻找php人才 在WIN7下phpmyadmin3.3.7本地安装的问题来了 求apache一条rewrite规则 表单提交页和结果显示页网址完全一样,如果利用curl post数据后来提取内容? 做小偷程序 先POST变量 然后获取页面 新手,问一个全选的问题?? iframe问题,为什么有时显示不出来,需要刷新几下才能显示 请帮忙写个伪静态的RewriteRule ajaxfileupload上传文件没反应 nl2br()这个函数,nl是什么的简写? cURL请求第三方接口慢,导致阻塞
这是一个由php程序根据site参数输出不同js代码的文件
就可得到if(typeof(RN_LOADED)=='undefined')
{
var RN_LOADED = 1;
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = 'http://tj.ranknowcn.com/tj/t.js.php?site=709&url='+encodeURIComponent(document.location)+'&rnd=1421910611.7041';
setTimeout(function(){
var s = document.getElementsByTagName('HEAD')[0];
if(s) s.parentNode.insertBefore(ga, s);
},1)
})();
}
/////////// 2012-10-19 ////////////////
/*var metis_img = new Image;
window.global_random = +new Date();
metis_img.src = 'http://stats.yqing.cn/pv2.gif?s=' + window.global_random;*/
var metis_protocol = "https:" == document.location.protocol ? "https:": "http:";
window.global_random = +new Date();
var metis_stat = function(){
this.stat_server = 'http://stats.yqing.cn/pv.gif?'
this.site_id = 709;
this.cookie_pre = 'METIS_COOKIE_STAT';
this.uri = document.location.href;
this.referrer = document.referrer;
}
metis_stat.prototype = {
init:function(){
this.getUid();
this.getLanguage();
this.getScreen();
this.log();
},
getUid:function(){
var cookie = document.cookie;
var m = cookie.match(/METIS_COOKIE_STAT_USER=([^;]+);?/)
if (m) {
this.uid = m[1];
this.is_new = 0;
}else{
var guid = this.GUID();
document.cookie = this.cookie_pre + "_USER=" + guid + "; expires=Fri, 3 Aug 2099 00:00:00 UTC; path=/";
this.uid = guid;
this.is_new = 1;
}
},
GUID:function()
{
var S4 = function ()
{
return Math.floor(
Math.random() * 0x10000
).toString(16);
};
return (
S4() + S4() + S4() + S4() + S4()+ S4()+ S4()+ S4()
);
},
getLanguage: function() {
this.lg = navigator.systemLanguage || navigator.language;
this.lg = this.lg.toLowerCase();
},
getScreen: function() {
this.screen = screen.width + "x" + screen.height;
},
log:function(){
var img = new Image;
var self = this;
var args = ['sid='+self.site_id,'l='+encodeURIComponent(self.uri),'r='+encodeURIComponent(self.referrer),/*'b='+self.browser,'v='+self.version,'p='+self.platform,*/'u='+self.uid,'la='+self.lg,'s='+self.screen,'t='+parseInt(new Date() / 1000),'n='+self.is_new,'ra='+window.global_random];
img.src = self.stat_server + args.join('&');
}
};
var metis__stat = new metis_stat;
metis__stat.init();
/*var metis_img2 = new Image;
metis_img2.src = 'http://stats.yqing.cn/pv3.gif?s=' + window.global_random;*/