我想用js,人家说不行,js能被浏览器禁用,原提问帖
http://topic.csdn.net/u/20100731/20/034b8c3a-55f6-4583-bbdf-06c087978e38.html?seed=1866188945&r=67387882#r_67387882
http://www.mycodes.net/74/2380.htm他们写的php代码参考我现在已经建好了网站,php的cms一键生成html,大多数是html页面,还有反馈页面是php让php代替html为首页,php里该怎么写代码,能照常访问html主页和html分页面?并且主页面和分页面都能防得住cc?
(访问的时候,访问者看的跟最初用html页面一样的访问)
问题1.该怎么写这个index.php页面???问题2.还有这段php代码,应该放到已有的php页面里什么位置?前头or后头?
http://topic.csdn.net/u/20100731/20/034b8c3a-55f6-4583-bbdf-06c087978e38.html?seed=1866188945&r=67387882#r_67387882
http://www.mycodes.net/74/2380.htm他们写的php代码参考我现在已经建好了网站,php的cms一键生成html,大多数是html页面,还有反馈页面是php让php代替html为首页,php里该怎么写代码,能照常访问html主页和html分页面?并且主页面和分页面都能防得住cc?
(访问的时候,访问者看的跟最初用html页面一样的访问)
问题1.该怎么写这个index.php页面???问题2.还有这段php代码,应该放到已有的php页面里什么位置?前头or后头?
2、这段代码要放在php页面的开头,因为用了 session
做一个动态防cc攻击页面,然后html页面include那个动态页面,这个能行吗?能不影响已被收录的网页吗?
g:\iislog\W3SVC\ra100801.ibl 342020 CNLINK 1662752193 2010-08-01 06:05:58 220.181.94.235 96.46.11.44 80 GET HTTP/1.1 304 0 281 214 121 0 /robots.txt - -
g:\iislog\W3SVC\ra100801.ibl 345921 CNLINK 1662752193 2010-08-01 06:09:37 123.125.67.181 96.46.11.44 80 GET HTTP/1.0 200 0 1625 0 153 64 /static/media/clock/2.mid - -
g:\iislog\W3SVC\ra100801.ibl 347010 CNLINK 1662752193 2010-08-01 06:10:33 220.181.37.85 96.46.11.44 80 GET HTTP/1.0 200 0 625 0 150 64 /static/media/clock/17.mid - -
g:\iislog\W3SVC\ra100801.ibl 349069 CNLINK 1662752193 2010-08-01 06:13:16 180.120.178.205 96.46.11.44 80 GET HTTP/1.1 200 0 3437 66688 418 0 /index.htm - -
g:\iislog\W3SVC\ra100801.ibl 349091 CNLINK 1662752193 2010-08-01 06:13:18 180.120.178.205 96.46.11.44 80 GET HTTP/1.1 200 0 906 1632 370 0 /static/js/header.js - -
g:\iislog\W3SVC\ra100801.ibl 349092 CNLINK 1662752193 2010-08-01 06:13:18 180.120.178.205 96.46.11.44 80 GET HTTP/1.1 200 0 1062 2311 376 0 /themes/default/js/skin.js - -
g:\iislog\W3SVC\ra100801.ibl 349096 CNLINK 1662752193 2010-08-01 06:13:18 180.120.178.205 96.46.11.44 80 GET HTTP/1.1 200 0 1312 3305 401 0 /themes/default/skins/blue/style.css - -
g:\iislog\W3SVC\ra100801.ibl 349099 CNLINK 1662752193 2010-08-01 06:13:18 180.120.178.205 96.46.11.44 80 GET HTTP/1.1 200 0 1500 9609 380 0 /themes/default/js/ylmf.cai.js - -
g:\iislog\W3SVC\ra100801.ibl 349100 CNLINK 1662752193 2010-08-01 06:13:18 180.120.178.205 96.46.11.44 80 GET HTTP/1.1 200 0 1531 17627 389 0 /themes/default/base.css - -
g:\iislog\W3SVC\ra100801.ibl 349108 CNLINK 1662752193 2010-08-01 06:13:19 180.120.178.205 96.46.11.44 80 GET HTTP/1.1 200 0 2140 19328 378 0 /themes/default/js/config.js - -
g:\iislog\W3SVC\ra100801.ibl 349109 CNLINK 1662752193 2010-08-01 06:13:19 180.120.178.205 96.46.11.44 80 GET HTTP/1.1 200 0 2125 13226 376 0 /themes/default/js/base.js - -
g:\iislog\W3SVC\ra100801.ibl 349117 CNLINK 1662752193 2010-08-01 06:13:20 180.120.178.205 96.46.11.44 80 GET HTTP/1.1 200 0 671 628 455 0 /themes/default/skins/blue/images/bg.png - -
g:\iislog\W3SVC\ra100801.ibl 349119 CNLINK 1662752193 2010-08-01 06:13:20 180.120.178.205 96.46.11.44 80 GET HTTP/1.1 200 0 812 1474 459 0 /themes/default/skins/blue/images/repeat.gif - -
g:\iislog\W3SVC\ra100801.ibl 349123 CNLINK 1662752193 2010-08-01 06:13:21 180.120.178.205 96.46.11.44 80 GET HTTP/1.1 200 0 2109 35077 376 0 /themes/default/js/home.js - -
g:\iislog\W3SVC\ra100801.ibl 349125 CNLINK 1662752193 2010-08-01 06:13:21 180.120.178.205 96.46.11.44 80 GET HTTP/1.1 200 0 843 344 460 0 /themes/default/skins/blue/images/sidebar.gif - -
g:\iislog\W3SVC\ra100801.ibl 349128 CNLINK 1662752193 2010-08-01 06:13:22 180.120.178.205 96.46.11.44 80 GET HTTP/1.1 200 0 312 304 463 0 /themes/default/skins/blue/images/topsite_bg.gif - -
g:\iislog\W3SVC\ra100801.ibl 349131 CNLINK 1662752193 2010-08-01 06:13:22 180.120.178.205 96.46.11.44 80 GET HTTP/1.1 200 0 578 345 461 0 /themes/default/skins/blue/images/tools_bg.gif - -
g:\iislog\W3SVC\ra100801.ibl 349141 CNLINK 1662752193 2010-08-01 06:13:23 180.120.178.205 96.46.11.44 80 GET HTTP/1.1 200 0 968 5394 435 0 /themes/default/images/icons.gif - -
g:\iislog\W3SVC\ra100801.ibl 349147 CNLINK 1662752193 2010-08-01 06:13:23 180.120.178.205 96.46.11.44 80 GET HTTP/1.1 200 0 1437 4375 459 0 /themes/default/skins/blue/images/images.gif - -
g:\iislog\W3SVC\ra100801.ibl 349170 CNLINK 1662752193 2010-08-01 06:13:25 180.120.178.205 96.46.11.44 80 GET HTTP/1.1 200 0 4015 3677 403 0 /static/images/logo.gif - -这个不确定是否被攻击了,等下我再贴一个攻击的