acbd的排版 原创
[
2007/06/05 09:10 | by Else ]
2007/06/05 09:10 | by Else ]
下面的是css文件images/css.css 两个代码要合起来!
@charset "utf-8";
/* CSS Document */
body,td,th {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
color: #666666;
text-align: center;
margin:0;
padding:0;
background: #CCCCCC;
}
/* CSS Document */
body,td,th {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
color: #666666;
text-align: center;
margin:0;
padding:0;
background: #CCCCCC;
}
jdk1.5中文文档
[
2007/05/29 09:48 | by Else ]
2007/05/29 09:48 | by Else ]
jdk1.5中文文档测试防盗链!
本页来自你要点酷库网的网址才能得到这个链这个!这里只是我的一个测试!
http://www.cuku.net/show.php/413.html要点这个进入下载!
http://wpsni.cuku.net/downs/jdk1.5.chm
本页来自你要点酷库网的网址才能得到这个链这个!这里只是我的一个测试!
http://www.cuku.net/show.php/413.html要点这个进入下载!
http://wpsni.cuku.net/downs/jdk1.5.chm
apache防盗链成功(高兴中)
[
2007/05/28 16:28 | by Else ]
2007/05/28 16:28 | by Else ]
本站将把这个blog的也设置成防盗链的!现在先马www.cuku.net这个站的一些资源给放上去,站是要做,但是一点一点的来!
SetEnvIfNoCase Referer "^http://wpsni.cuku.net/" local_ref=1
SetEnvIfNoCase Referer "^http://www.cuku.net/" local_ref=1
SetEnvIfNoCase Referer "^http://cuku.net/" local_ref=1
Order Allow,Deny
Allow from env=local_ref
Allow from www.cuku.net
SetEnvIfNoCase Referer "^http://www.cuku.net/" local_ref=1
SetEnvIfNoCase Referer "^http://cuku.net/" local_ref=1
Order Allow,Deny
Allow from env=local_ref
Allow from www.cuku.net
apache 防盗链两例
[
2007/05/28 15:38 | by Else ]
2007/05/28 15:38 | by Else ]
apache 防盗链两例
1.利用rewrite 确认你的apache 能使用rewrite mod
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^http://cuku.net/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.cuku.net$ [NC]
RewriteCond %{HTTP_REFERER} !^http://aixq.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.aixq.com$ [NC]
RewriteRule .*.(gif|jpb|png|css|js|swf])$ http://www.aixq.com/img/logo.gif[R,NC[R,NC]
1.利用rewrite 确认你的apache 能使用rewrite mod
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^http://cuku.net/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.cuku.net$ [NC]
RewriteCond %{HTTP_REFERER} !^http://aixq.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.aixq.com$ [NC]
RewriteRule .*.(gif|jpb|png|css|js|swf])$ http://www.aixq.com/img/logo.gif[R,NC[R,NC]
好久没有弄了,复习一下!
<div id="topname">::热门话题</div>
<?php
$query_top_rs = "SELECT id,title FROM ruby WHERE view=1 order by countruby desc LIMIT 0,10";
//The updated article 10
$top_rs = mysql_query($query_top_rs, $conn) or die(mysql_error());
$row_top_rs = mysql_fetch_assoc($top_rs);
do { ?>
<div id="toplist">
<img src="images/arrow_list.gif" width="13" height="11" /><a href=/show.php/<?php echo $row_top_rs['id']; ?>.html
title="<?php echo $row_top_rs['title']; ?>"
target="_blank"
><?php echo cnSubStr($row_top_rs['title'],28); ?>
</a>
</div>
<?php } while ($row_top_rs = mysql_fetch_assoc($top_rs));
mysql_free_result($top_rs);//Memory release
?><br/>
<?php
$query_top_rs = "SELECT id,title FROM ruby WHERE view=1 order by countruby desc LIMIT 0,10";
//The updated article 10
$top_rs = mysql_query($query_top_rs, $conn) or die(mysql_error());
$row_top_rs = mysql_fetch_assoc($top_rs);
do { ?>
<div id="toplist">
<img src="images/arrow_list.gif" width="13" height="11" /><a href=/show.php/<?php echo $row_top_rs['id']; ?>.html
title="<?php echo $row_top_rs['title']; ?>"
target="_blank"
><?php echo cnSubStr($row_top_rs['title'],28); ?>
</a>
</div>
<?php } while ($row_top_rs = mysql_fetch_assoc($top_rs));
mysql_free_result($top_rs);//Memory release
?><br/>
关于asp的true/false值的传递
[
2007/05/16 11:46 | by Else ]
2007/05/16 11:46 | by Else ]
以前在asp要把true/false这个值传过去的时候,来一个选框来,打上勾,设选上的值为true,就这样,传到程序的时候,在来给这个值做这if else 比如,为空的时候多少,不为空的时候就是true,今天早上来不想写那些代码然后看着程序!突然想到程序里面不是有:isnull ,isempty这些函数吗?先做个选框
<input name="checkbox" type="checkbox" value="<%=date()%>"<%if rs("数据值") then%> checked="checked" <%end if%>/>
批处里if的应用!军哥的例子
[
2007/05/08 11:31 | by Else ]
2007/05/08 11:31 | by Else ]
@ECHO OFF
@Set Path=C:\WINDOWS\;C:\WINDOWS\system32\;C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727;
@Set Res1=F:\网站数据\Cmusic\iXuErCMSLib\iXuErCMSLib\bin\Release\iXuErCMS.DLL
@Set Res2=F:\网站数据\Cmusic\iXuErCMSLib\iXuErCMSLib\bin\Release\Interop.ASPTypeLibrary.dll
@Set Dll1=iXuErCMS.dll
@Set Dll2=Interop.ASPTypeLibrary.dll
@Set Tlb1=iXuErCMS.tlb
关于asp的fso的一个错误!
[
2007/05/03 17:48 | by Else ]
2007/05/03 17:48 | by Else ]
引用
Microsoft VBScript 运行时错误 错误 '800a0005'
无效的过程调用或参数
无效的过程调用或参数
在来看我们的代码
引用
If Body<>"" Then
Set Fso = Server.CreateObject("Scripting.FileSystemObject")
Set Fout = Fso.CreateTextFile(Server.Mappath(""&Filename&""))
Fout.Write(Body)' 当编码是utf-8的时候,就会提示这里错误!
Fout.Close
Set Fso = Server.CreateObject("Scripting.FileSystemObject")
Set Fout = Fso.CreateTextFile(Server.Mappath(""&Filename&""))
Fout.Write(Body)' 当编码是utf-8的时候,就会提示这里错误!
Fout.Close
解决方法
js+asp实现服务器时间 五一节快乐!
[
2007/05/01 06:53 | by Else ]
2007/05/01 06:53 | by Else ]
五一节快乐!带来今天早上的成果,js+上asp实现服务器的时间,有时分秒 如果你有服务器是中国的,又想实现美国时间的话,那么你设用一下之前的 关于asp的时间(时区)差异 具体的我不多设了
演示 http://www.aixq.com/demo/asp_686.asp
下面是源码
演示 http://www.aixq.com/demo/asp_686.asp
下面是源码
asp生成随机字符串!不重复,要数据库帮忙
[
2007/04/28 14:07 | by Else ]
2007/04/28 14:07 | by Else ]
只能把生成的记录放到数据库里面了














