最近想装一下ecshop和discuz2个程序,装的时候看到2段代码
ecshop的
<script type=”text/javascript” src=”http://api.ecshop.com/checkver.php?ver=<?php echo $this->_var['ecs_version']; ?>&lang=<?php echo $this->_var['ecs_lang']; ?>&release=<?php echo $this->_var['ecs_release']; ?>&php_ver=<?php echo $this->_var['sys_info']['php_ver']; ?>&mysql_ver=<?php echo $this->_var['sys_info']['mysql_ver']; ?>&ocount=<?php echo $this->_var['order']['stats']['oCount']; ?>&oamount=<?php echo $this->_var['order']['stats']['oAmount']; ?>&gcount=<?php echo $this->_var['goods']['total']; ?>&charset=<?php echo $this->_var['ecs_charset']; ?>”></script>
discuz的
<script src=”http://<?=$insenz[url]?>/news.php?id=<?=$insenz[siteid]?>&t=<?=$timestamp?>&k=<?=md5($insenz[authkey].$insenz[siteid].$timestamp.’Discuz!’)?>&insenz_version=<?=INSENZ_VERSION?>&discuz_version=<?=DISCUZ_VERSION.’ - ‘.DISCUZ_RELEASE?>&random=<?=random(4)?>” type=”text/javascript” charset=”UTF-8″></script> echo ‘<sc’ .'ript language=”Jav’.'aScript” src=” ht’.'tp:/’.'/cus’.'tome’.'r.disc’.'uz.n’.'et/n’ .'ews’.’.p’.'hp?’.bbsinformation().’”></s’.'cri’.'pt>’;
恩,很好很强大
《 “ecshop和discuz的2段代码” 》 有 3 条评论
ECSHOP还不仅仅是这些哦,后台框架页也有
不是很明白你所指的是什么,是信息收集吗?
对。
1,该不该收集是个问题
2,代码还断开写,为的是什么呢?