- 博客(4)
- 资源 (1)
- 收藏
- 关注
原创 discuz截取函数
php字符串截取函数$cutstr = cutstr(截取我,hahahahahaaha,3);function cutstr($string, $length, $dot = ...) {global $charset;if(strlen($string) $length) {return $string;}$string = str_replace(array(&,
2008-02-26 14:11:00 725
原创 discuz加解密函数
php加解密函数$encode = authocode(我要加密,ENCODE);$decode = authocode(我要解密,DECODE);$auth_key = 34577 ; //密钥function authcode($string, $operation, $key = ) {$key = md5($key ? $key : $GLOBALS[aut
2008-02-26 14:05:00 657
转载 弹窗代码全集
1.超级弹窗代码(MYIE也照弹)focusid=setTimeout("focus();window.showModelessDialog(http://www.ik38.com,,scroll:1;status:0;help:0;resizable:1;dialogWidth:0px;dialogHeight:0px)",0000) 演示:http://ik38.com/ys/1.
2008-02-20 18:17:00 2403 1
原创 一些有用的正则表达式收集
用 正则表达式限制只能输入中文:onkeyup="value=value.replace(/[^/u4E00-/u9FA5]/g,)" ōnbeforepaste="clipboardData.setData(text,clipboardData.getData(text).replace(/[^/u4E00-/u9FA5]/g,))" 1.用正则表达式限制只能输入全角字符: ōn
2008-02-15 12:03:00 406
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人