旖旎世界!
日志首页 | 音乐之声 | 美丽心情 | 旎旎图库 | 好好学习 | 保先教育 | 为了健康 | 对联雅座| IT频道
用户登陆
用户:
密码:
 

站点日历
73 2010 - 9 48
   1234
567891011
12131415161718
19202122232425
2627282930


最新日志

日志TOP10

站点统计

最新评论

日志搜索

 标题   内容

什么样的人受欢迎——人际吸引奥秘 祝朋友们端午节快乐!
未知 文字防复制乱码 函数 --干扰码   [ 日期:2006-05-24 ]   [ 来自:本站原创 ]



'作用:文字防复制乱码 函数
'Date:2006-3-6
'作者:blue2004
'参数str 为原文,str1作者也是你自己,reslut产生乱码的种子
Function ReadToCode(str,Str1,result)
dim name
dim i,j,k
If isnull(str) then
ReadToCode=""
Exit Function
End If
Randomize 
k=instr(str,"</P>")
Do while k>0
result=""
for i=0 to 19
j=Int(128 * Rnd)+1
if j=60 or j=62 then
j=j+1
end if
result =result&chr(j) ' 产生随机数。
next 
result="<span style='DISPLAY: none'>"&result&"</span>"
str=replace(str,"</p>",result&"<'/p>",1,1)
k=instr(str,"</p>")
loop
str=replace(str,"<'/p>","</p>")
k=instr(str,"<br>")
Do while k>0
result=""
for i=0 to 19
j=Int(128 * Rnd)+1
if j=60 or j=62 then
j=j+1
end if
result =result&chr(j) ' 产生随机数。
next 
result="<span style='DISPLAY: none'>"&result&"</span>"
str=replace(str,"<br>",result&"<'br>",1,1)
k=instr(str,"<br>")
loop
str=replace(str,"<'br>","<br>")
ReadToCode=str&"<div align=right style='color=gray'>[版权归原作者和火星人所有"&Str1&"共同拥有,转载请注明出处]</div>"
End Function 





站内搜索:
告诉QQ/MSN上的好友 用新浪ViVi收藏此页 收藏此页到365Key Tool

引用通告地址 (31):
复制引用地址http://www.xggx.info/trackback.asp?tbID=1426
复制引用地址http://www.xggx.info/trackback.asp?tbID=1426&CP=GBK
暂时没有评论
发表评论 - 不要忘了输入验证码哦!
作者: 用户:  密码:   注册? 验证: 
评论:

禁止表情
禁止UBB
禁止图片
识别链接
识别关键字
表  情
 
鄂ICP备05027980号
Powered by XGGX.INFO © 2003-04 , Processed in 10.312500 second(s), 8 queries