[
2009/08/08 13:25 | by 逍遥花主 ]
2009/08/08 13:25 | by 逍遥花主 ]
先建立一个默认主页index.php
然后把A站放在A文件夹下
B站放在B文件夹下
C站放在C文件夹下
PHP版本
index.php网页文件如下
如果用户访问 www.a.com 程序跳转至 空间目录下 a/index.php
如果用户访问 www.b.com 程序跳转至 空间目录下 b/index.php
如果用户访问 www.c.com 程序跳转至 空间目录下 c/index.php
利用一个php文件通过浏览器输入的域名,判定他是要打开那个文件夹里的站点,来实现一个虚拟放置多个站点(缺点例如打开abc.com,在浏览器中看到的是abc.com/b因为站点在b目录下)
其他说明:如果虚拟主机不支持子目录绑定,这是唯一有效的办法
ASP版本
如果只有一个ASP空间,而你又想放置多个多个站点,这些代码可以帮到你
第一个
程序代码
<%
if Request.ServerVariables("SERVER_NAME")="www.dzhai.com" then
response.redirect "williamlong/index.htm"
else
response.redirect "index2.htm"
end if
%>
第二个
程序代码
<%
select case request.servervariables("http_host")
case "www.dzhai.com" '1
Server.Transfer("v3.htm")
case "www.6id.net" '2
Server.Transfer("i.htm")
case "www.write100.com" '3
Server.Transfer("write100.htm")
...... 继续添加 ......
end select
%>
第三个
程序代码
<%
if instr(Request.ServerVariables("SERVER_NAME"),"www.dzhai.com")>0 then
response.redirect "index.asp"
elseif instr(Request.ServerVariables("SERVER_NAME"),"www.6id.net")>0 then
response.redirect "x/index.asp"
elseif instr(Request.ServerVariables("SERVER_NAME"),"www.write100.com")>0 then
response.redirect "index3.asp"
end if
%>
第四个
程序代码
<%
if Request.ServerVariables("SERVER_NAME")="www.dzhai.com" then
response.redirect "index1.asp"
elseif Request.ServerVariables("SERVER_NAME")="www.6id.net" then
response.redirect "index2.asp"
elseif Request.ServerVariables("SERVER_NAME")="www.write100.com" then
response.redirect "index3.asp"
end if
%>
第五个
程序代码
<%
if Request.ServerVariables("SERVER_NAME")="www.dzhai.com" then
Server.Transfer("williamlong.htm")
elseif Request.ServerVariables("SERVER_NAME")="www.6id.net" then
Server.Transfer("moon.htm")
elseif Request.ServerVariables("SERVER_NAME")="www.write100.com" then
Server.Transfer("write100.htm")
else
Server.Transfer("other.htm")
end if
%>
JSP版本
<script>try {if( self.location == "http://玉米一/" ) {
top.location.href = "http://玉米一/目录";
}
else if( self.location == "http://玉米二/" ) {
top.location.href = "http://玉米二/目录";
}
else if( self.location == "http://玉米三/" ) {
top.location.href = "http://玉米三/目录";
}
else if( self.location == "http://玉米四/" ) {
top.location.href = "http://玉米四/目录";
}
else {document.write ("错误的访问地址")}} catch(e) {}</script>
详解:
1:首先,你的空间必须支持ASP,并且这个空间可以绑定下面所用到的两个域名,然后新建一个ASP
的首页文件,这个ASP文件中的代码这么写:
<%if Request.ServerVariables("SERVER_NAME")="XXXX.cn" then '第一个输入的网址
response.redirect "index.html" '将它转发到相应的文件夹
else%>
<%end if%>
<%if Request.ServerVariables("SERVER_NAME")="www.XXXX.cn" then response.redirect
"index.html"
else%>
<%end if%>
<%if Request.ServerVariables("SERVER_NAME")="XXXX.cn" then '第二个输入的网址
response.redirect "soft/index.html" '将它转发到相应的文件
夹
else%>
<%end if%>
<%if Request.ServerVariables("SERVER_NAME")="www.XXXX.cn" thenresponse.redirect
"soft/index.html"
else%>
<%end if%>
然后把A站放在A文件夹下
B站放在B文件夹下
C站放在C文件夹下
PHP版本
index.php网页文件如下
- <?php
- switch ($_SERVER["HTTP_HOST"])
- {
- case "www.a.com":
- header("location:a/index.php");
- break;
- case "www.b.com":
- header("location:b/index.php");
- break;
- case "www.c.com":
- header("location:c/index.php");
- break;
- }
- ?>
如果用户访问 www.a.com 程序跳转至 空间目录下 a/index.php
如果用户访问 www.b.com 程序跳转至 空间目录下 b/index.php
如果用户访问 www.c.com 程序跳转至 空间目录下 c/index.php
利用一个php文件通过浏览器输入的域名,判定他是要打开那个文件夹里的站点,来实现一个虚拟放置多个站点(缺点例如打开abc.com,在浏览器中看到的是abc.com/b因为站点在b目录下)
其他说明:如果虚拟主机不支持子目录绑定,这是唯一有效的办法
ASP版本
如果只有一个ASP空间,而你又想放置多个多个站点,这些代码可以帮到你
第一个
程序代码
<%
if Request.ServerVariables("SERVER_NAME")="www.dzhai.com" then
response.redirect "williamlong/index.htm"
else
response.redirect "index2.htm"
end if
%>
第二个
程序代码
<%
select case request.servervariables("http_host")
case "www.dzhai.com" '1
Server.Transfer("v3.htm")
case "www.6id.net" '2
Server.Transfer("i.htm")
case "www.write100.com" '3
Server.Transfer("write100.htm")
...... 继续添加 ......
end select
%>
第三个
程序代码
<%
if instr(Request.ServerVariables("SERVER_NAME"),"www.dzhai.com")>0 then
response.redirect "index.asp"
elseif instr(Request.ServerVariables("SERVER_NAME"),"www.6id.net")>0 then
response.redirect "x/index.asp"
elseif instr(Request.ServerVariables("SERVER_NAME"),"www.write100.com")>0 then
response.redirect "index3.asp"
end if
%>
第四个
程序代码
<%
if Request.ServerVariables("SERVER_NAME")="www.dzhai.com" then
response.redirect "index1.asp"
elseif Request.ServerVariables("SERVER_NAME")="www.6id.net" then
response.redirect "index2.asp"
elseif Request.ServerVariables("SERVER_NAME")="www.write100.com" then
response.redirect "index3.asp"
end if
%>
第五个
程序代码
<%
if Request.ServerVariables("SERVER_NAME")="www.dzhai.com" then
Server.Transfer("williamlong.htm")
elseif Request.ServerVariables("SERVER_NAME")="www.6id.net" then
Server.Transfer("moon.htm")
elseif Request.ServerVariables("SERVER_NAME")="www.write100.com" then
Server.Transfer("write100.htm")
else
Server.Transfer("other.htm")
end if
%>
JSP版本
<script>try {if( self.location == "http://玉米一/" ) {
top.location.href = "http://玉米一/目录";
}
else if( self.location == "http://玉米二/" ) {
top.location.href = "http://玉米二/目录";
}
else if( self.location == "http://玉米三/" ) {
top.location.href = "http://玉米三/目录";
}
else if( self.location == "http://玉米四/" ) {
top.location.href = "http://玉米四/目录";
}
else {document.write ("错误的访问地址")}} catch(e) {}</script>
详解:
1:首先,你的空间必须支持ASP,并且这个空间可以绑定下面所用到的两个域名,然后新建一个ASP
的首页文件,这个ASP文件中的代码这么写:
<%if Request.ServerVariables("SERVER_NAME")="XXXX.cn" then '第一个输入的网址
response.redirect "index.html" '将它转发到相应的文件夹
else%>
<%end if%>
<%if Request.ServerVariables("SERVER_NAME")="www.XXXX.cn" then response.redirect
"index.html"
else%>
<%end if%>
<%if Request.ServerVariables("SERVER_NAME")="XXXX.cn" then '第二个输入的网址
response.redirect "soft/index.html" '将它转发到相应的文件
夹
else%>
<%end if%>
<%if Request.ServerVariables("SERVER_NAME")="www.XXXX.cn" thenresponse.redirect
"soft/index.html"
else%>
<%end if%>
[
2009/07/16 19:28 | by 逍遥花主 ]
2009/07/16 19:28 | by 逍遥花主 ]
1. I see. 我明白了。
2. I quit! 我不干了!
3. Let go! 放手!
4. Me too. 我也是。
5. My god! 天哪!
6. No way! 不行!
7. Come on. 来吧(赶快)
8. Hold on. 等一等。
9. I agree。 我同意。
10. Not bad. 还不错。
11. Not yet. 还没。
12. See you. 再见。
13. Shut up! 闭嘴!
14. So long. 再见。
15.Why not? 好呀! (为什么不呢?)
16. Allow me. 让我来。
17. Be quiet! 安静点!
18. Cheer up! 振作起来!
19. Good job! 做得好!
20. Have fun! 玩得开心!
21. How much? 多少钱?
22. I'm full. 我饱了。
23. I'm home. 我回来了。
24. I'm lost. 我迷路了。
25. My treat. 我请客。
26. So do I. 我也一样。
27. This way。 这边请。
28. After you. 您先。
29. Bless you! 祝福你!
30. Follow me. 跟我来。
31. Forget it! 休想! (算了!)
32. Good luck! 祝好运!
33. I decline! 我拒绝!
34. I promise. 我保证。
35. Of course! 当然了!
36. Slow down! 慢点!
37. Take care! 保重!
38. They hurt. (伤口)疼。
39. Try again. 再试试。
40. Watch out! 当心。
41. What's up? 有什么事吗?
42. Be careful! 注意!
43. Bottoms up! 干杯(见底)!
44. Don't move! 不许动!
45. Guess what? 猜猜看?
46. I doubt it 我怀疑。
47. I think so. 我也这么想。
48. I'm single. 我是单身贵族。
49. Keep it up! 坚持下去!
50. Let me see.让我想想。
51. Never mind.不要紧。
52. No problem! 没问题!
53. That's all! 就这样!
54. Time is up. 时间快到了。
55. What's new? 有什么新鲜事吗?
56. Count me on 算上我。
57. Don't worry. 别担心。
58. Feel better? 好点了吗?
59. I love you! 我爱你!
60. I'm his fan。 我是他的影迷。
61. Is it yours? 这是你的吗?
62. That's neat. 这很好。
63. Are you sure? 你肯定吗?
64. Do l have to 非做不可吗?
65. He is my age. 他和我同岁。
66. Here you are. 给你。
67. No one knows . 没有人知道。
68. Take it easy. 别紧张。
69. What a pity! 太遗憾了!
70. Any thing else? 还要别的吗?
71. To be careful! 一定要小心!
72. Do me a favor? 帮个忙,好吗?
73. Help yourself. 别客气。
74. I'm on a diet. 我在节食。
75. Keep in Touch. 保持联络。
76. Time is money. 时间就是金钱。
77. Who's calling? 是哪一位?
78. You did right. 你做得对。
79. You set me up! 你出卖我!
80. Can I help you? 我能帮你吗?
81. Enjoy yourself! 祝你玩得开心!
82. Excuse me,Sir. 先生,对不起。
83. Give me a hand! 帮帮我!
84. How's it going? 怎么样?
85. I have no idea. 我没有头绪。
86. I just made it! 我做到了!
87. I'll see to it 我会留意的。
88. I'm in a hurry! 我在赶时间!
89. It's her field. 这是她的本行。
90. It's up to you. 由你决定。
91. Just wonderful! 简直太棒了!
92. What about you? 你呢?
93. You owe me one.你欠我一个人情。
94. You're welcome. 不客气。
95. Any day will do. 哪一天都行夕
96. Are you kidding? 你在开玩笑吧!
97. Congratulations! 祝贺你!
98. T can't help it. 我情不自禁。
99. I don't mean it. 我不是故意的。
100. I'll fix you Up. 我会帮你打点的
2. I quit! 我不干了!
3. Let go! 放手!
4. Me too. 我也是。
5. My god! 天哪!
6. No way! 不行!
7. Come on. 来吧(赶快)
8. Hold on. 等一等。
9. I agree。 我同意。
10. Not bad. 还不错。
11. Not yet. 还没。
12. See you. 再见。
13. Shut up! 闭嘴!
14. So long. 再见。
15.Why not? 好呀! (为什么不呢?)
16. Allow me. 让我来。
17. Be quiet! 安静点!
18. Cheer up! 振作起来!
19. Good job! 做得好!
20. Have fun! 玩得开心!
21. How much? 多少钱?
22. I'm full. 我饱了。
23. I'm home. 我回来了。
24. I'm lost. 我迷路了。
25. My treat. 我请客。
26. So do I. 我也一样。
27. This way。 这边请。
28. After you. 您先。
29. Bless you! 祝福你!
30. Follow me. 跟我来。
31. Forget it! 休想! (算了!)
32. Good luck! 祝好运!
33. I decline! 我拒绝!
34. I promise. 我保证。
35. Of course! 当然了!
36. Slow down! 慢点!
37. Take care! 保重!
38. They hurt. (伤口)疼。
39. Try again. 再试试。
40. Watch out! 当心。
41. What's up? 有什么事吗?
42. Be careful! 注意!
43. Bottoms up! 干杯(见底)!
44. Don't move! 不许动!
45. Guess what? 猜猜看?
46. I doubt it 我怀疑。
47. I think so. 我也这么想。
48. I'm single. 我是单身贵族。
49. Keep it up! 坚持下去!
50. Let me see.让我想想。
51. Never mind.不要紧。
52. No problem! 没问题!
53. That's all! 就这样!
54. Time is up. 时间快到了。
55. What's new? 有什么新鲜事吗?
56. Count me on 算上我。
57. Don't worry. 别担心。
58. Feel better? 好点了吗?
59. I love you! 我爱你!
60. I'm his fan。 我是他的影迷。
61. Is it yours? 这是你的吗?
62. That's neat. 这很好。
63. Are you sure? 你肯定吗?
64. Do l have to 非做不可吗?
65. He is my age. 他和我同岁。
66. Here you are. 给你。
67. No one knows . 没有人知道。
68. Take it easy. 别紧张。
69. What a pity! 太遗憾了!
70. Any thing else? 还要别的吗?
71. To be careful! 一定要小心!
72. Do me a favor? 帮个忙,好吗?
73. Help yourself. 别客气。
74. I'm on a diet. 我在节食。
75. Keep in Touch. 保持联络。
76. Time is money. 时间就是金钱。
77. Who's calling? 是哪一位?
78. You did right. 你做得对。
79. You set me up! 你出卖我!
80. Can I help you? 我能帮你吗?
81. Enjoy yourself! 祝你玩得开心!
82. Excuse me,Sir. 先生,对不起。
83. Give me a hand! 帮帮我!
84. How's it going? 怎么样?
85. I have no idea. 我没有头绪。
86. I just made it! 我做到了!
87. I'll see to it 我会留意的。
88. I'm in a hurry! 我在赶时间!
89. It's her field. 这是她的本行。
90. It's up to you. 由你决定。
91. Just wonderful! 简直太棒了!
92. What about you? 你呢?
93. You owe me one.你欠我一个人情。
94. You're welcome. 不客气。
95. Any day will do. 哪一天都行夕
96. Are you kidding? 你在开玩笑吧!
97. Congratulations! 祝贺你!
98. T can't help it. 我情不自禁。
99. I don't mean it. 我不是故意的。
100. I'll fix you Up. 我会帮你打点的
[
2009/06/28 20:01 | by 逍遥花主 ]
2009/06/28 20:01 | by 逍遥花主 ]
PS:就不知道写的实不实在,重庆的朋友都评说一下噻,虽然我也在重庆!
江北的美女
渝中的汉
南坪的跛子满街串
沙坪坝的花
石桥铺的草
渝北的和尚满街跑
万州的帅哥开县的狼
奉节遍地是流氓
武隆的饭
秀山的床
九龙坡的女子吓死狼
荣昌的猪
永川的茶
江津的花椒确实麻
大足的铁
壁山的鞋
合川的妹子有姿色
江北的美女
渝中的汉
南坪的跛子满街串
沙坪坝的花
石桥铺的草
渝北的和尚满街跑
万州的帅哥开县的狼
奉节遍地是流氓
武隆的饭
秀山的床
九龙坡的女子吓死狼
荣昌的猪
永川的茶
江津的花椒确实麻
大足的铁
壁山的鞋
合川的妹子有姿色
[
2009/06/24 00:18 | by 逍遥花主 ]
2009/06/24 00:18 | by 逍遥花主 ]
1.使用google输入klsw inurl:key或者klsw kaspersky (需要技巧和经验哦,要是你不会的话,那就在本站搜吧,我们会陆续提供很多注册key)
2.然后右键,使用快车或迅雷下载全部链接
建议新建一个目录。等下载完成后,打开目录,你会发现有很多的key文件可以用了
3.原理,让google搜索内容包含KLSW,地址包含key的链接。klsw,那只是一个普通的字串,每个卡巴的授权文件都是以这四个字母开头的。
4.关于过滤,
留下最终扩展名为key的文件
大小在1k-4k之间,太大的不是
下来你可以借助密匙查看器打开试试,看看过期没
最后再用卡巴试
[
2009/06/22 22:49 | by 逍遥花主 ]
2009/06/22 22:49 | by 逍遥花主 ]
今天重装系统,换成了MSDN的VISTA SP2,安装完office 2007 pro版后居然无法自动更新,郁闷啊。找啊找,弄了好久才知道了原因!
原因如下:
1、如果你使用绿色版、精简版的Office ,或者你清除了Office安装时的缓存文件夹MSOCache,就会打不上补丁。
请使用完整安装版的Office 2007,并保留原始的安装包存在于电脑中,并使补丁安装时能够访问(比如如果是镜像的话,就载入到虚拟光驱中)
2、用套件中的单个程序(比如WORD)中的online功能更新时,最好不要用第三方浏览器
原因如下:
1、如果你使用绿色版、精简版的Office ,或者你清除了Office安装时的缓存文件夹MSOCache,就会打不上补丁。
请使用完整安装版的Office 2007,并保留原始的安装包存在于电脑中,并使补丁安装时能够访问(比如如果是镜像的话,就载入到虚拟光驱中)
2、用套件中的单个程序(比如WORD)中的online功能更新时,最好不要用第三方浏览器





