找回密码
 注册
搜索
免费空间 免费域名 免费AI 老牌主机商首月仅1美分!27美元/年!Spaceship优惠码 Namecheap优惠码阿里云2核2G3M新老续费同享99元/年!
查看: 716|回复: 6

[程序代码] frameset 怎么放统计代码

[复制链接]
发表于 2012-8-31 20:47:46 | 显示全部楼层 |阅读模式
  1. <html>
  2. <frameset><frame src="http://www.baidu.com"></frameset>
  3. </html>
复制代码
我怎么放都统计不到,baidu, google, bing 啦好久。谢谢!
发表于 2012-8-31 20:56:16 | 显示全部楼层
虽然我不知道怎么帮你,但是我帮你顶上去!






昏暗的灯光之下,楼主一边吃着含有各种添加剂的方便面,一边喝着8毛钱一袋的皮鞋奶,身边放着一张中国地图和一张世界地图,眉头紧锁,口中喃喃自语:下一步我们应该怎么办?是收复台湾还是外蒙古?如果打,多长时间可以结束战争?美日会不会参战?如果参战,多长时间可以收复?正当楼主如痴如醉几近疯傻之际,砰!砰!砰!门外传来了急促的敲门声,开门!查暂住证!!!
 楼主| 发表于 2012-8-31 21:04:38 | 显示全部楼层
回复 2# TMD


    我懂了,admin@14691.com。你懂的

评分

参与人数 1银币 +1 收起 理由
TMD + 1 你需要种子?

查看全部评分

发表于 2012-8-31 22:17:45 | 显示全部楼层
回复  TMD


    我懂了,。你懂的
Hacker 发表于 2012-8-31 21:04


你需要种子?
 楼主| 发表于 2012-9-1 13:06:43 | 显示全部楼层
回复 4# TMD


    需要种子
 楼主| 发表于 2012-9-1 13:08:58 | 显示全部楼层
终于让我在 http://bbs.blueidea.com/forum.php?mod=viewthread&tid=2818595&page=4#pid3927618 找到大家试试,是不是和百度一模一样,我在IE6,IE8,CHROME18测试通过。欢迎大家做压力测试。让我和有一样需求的人不用再为此烦恼。
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <head>
  5. <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
  6. <style type="text/css">
  7. <!--
  8. * {
  9.      margin:0px;
  10.      padding:0px;
  11. }
  12. html, body {
  13.      height:100%;
  14.      overflow: hidden;
  15. }
  16. html>body {          /*-- for !IE6.0 --*/
  17.      width: auto;
  18.      height: auto;
  19.      position: absolute;
  20.      top: 0px;
  21.      left: 0px;
  22.      right: 0px;
  23.      bottom: 0px;
  24. }
  25. #mainDiv {
  26.      width: 100%;
  27.      height: 100%;
  28.      _padding-left:160px;
  29. }
  30. #centerDiv{
  31.      width: 100%;
  32.      height: 100%;
  33.      overflow:hidden;
  34. }
  35. #centerDiv iframe{
  36.      width: 100%;
  37.      height: 100%;
  38.      overflow:auto;
  39.      border:0 none;
  40. }
  41. #centerDiv>iframe{
  42.      +position:absolute;
  43.      +top:0px;
  44.      +bottom:0px;
  45. }
  46. -->
  47. </style>
  48. </head>
  49. <?php
  50. /*
  51. +-------------------------------------------------------------
  52. +抓取网页标题的代码,直接拷贝本代码片段,另存为.php文件执行即可.
  53. +-------------------------------------------------------------
  54. */
  55. error_reporting(7);
  56. $file = fopen ("http://www.baidu.com/", "r");
  57. if (!$file) {
  58. echo "<font color=red>Unable to open remote file.</font>\n";
  59. exit;
  60. }
  61. while (!feof ($file)) {
  62. $line = fgets ($file, 1024);
  63. if (eregi ("<title>(.*)</title>", $line, $out)) {
  64. $title = $out[1];
  65. break;
  66. }
  67. }
  68. fclose($file);
  69. //End
  70. ?>
  71. <body>
  72. <title><?php echo $title; ?></title>
  73. <link rel="Shortcut Icon" href="http://www.baidu.com/favicon.ico" type="image/x-icon">
  74. <div id="centerDiv"><iframe src="http://www.baidu.com/" frameborder="0"></iframe></div>
  75. <script language="javascript" type="text/javascript" src="http://js.users.51.la/14924793.js"></script>
  76. <noscript><a href="http://www.51.la/?14924793" target="_blank"><img alt="&#x6211;&#x8981;&#x5566;&#x514D;&#x8D39;&#x7EDF;&#x8BA1;" src="http://img.users.51.la/14924793.asp" style="border:none" /></a></noscript>
  77. </body>
  78. </html>
复制代码
发表于 2012-9-1 16:02:10 | 显示全部楼层
  1. 妥妥的
复制代码
  1. 确定了;没问题。
复制代码
您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|小黑屋|免费吧论坛

GMT+8, 2024-5-2 05:24 , Processed in 0.029276 second(s), 8 queries , Redis On.

Powered by Discuz! X3.5

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表