//utility function called by getCookie()function getCookieVal(offset){ var endstr = document.cookie.indexOf(";", offset); if(endstr == -1) { endstr = document.cookie.length; } return decodeURI(document.cookie.substring(offset, endstr));}// primary function to retrieve cookie by namefunctio Read More
posted @ 2012-01-01 17:51 FredTang Views(1424) Comments(0) Diggs(0)
win2003终端服务授权去微软注册去 https://activate.microsoft.com/ 购买方式选择:Select or Exterprise Agreement得到7组数字字母的服务器ID 服务器上选择选择电话注册 然后获取客户机许可证数量随便填,注册号码可用:4954438 (这儿是关键)已成功处理您的客户端许可证令牌请求。您应该立即打印这个页面您需要在“终端服务器 CAL 安装向导”中输入的许可证密钥包 ID 是:YVVXH - XYCVP - 8YPFH - RHG9B - TCJJV - 8D6TG - H34JD许可证服务器 ID 如下的许可证服务器: VM8B.. Read More
posted @ 2011-12-04 10:24 FredTang Views(1123) Comments(0) Diggs(0)
工具--〉电子邮箱帐户--〉察看或更改现有邮件帐户--〉选择你的邮件帐号--〉更改--〉其它设置--〉高级--〉钩选“在服务器上保留邮件的副本” Read More
posted @ 2011-11-17 11:24 FredTang Views(2491) Comments(0) Diggs(0)
1.创建立关链用户,例如,pubuser,privuser2.执行下列语名use pmdb exec sp_change_users_login 'update_one','privuser','privuser' exec sp_change_users_login 'update_one','p... Read More
posted @ 2011-10-19 15:00 FredTang Views(207) Comments(0) Diggs(0)
javascript 正则表达式实战(1)2009年05月24日 星期日 16:50匹配结尾的数字统一空格个数判断字符串是不是由数字组成电话号码正则手机号码正则表达式使用正则表达式实现删除字符串中的空格限制文本框只能输入数字和小数点等等替换小数点前内容为指定内容只匹配中文的正则表达式返回字符串的中文字符个数 正则表达式取得匹配IP地址前三段匹配<ul>与<ul>之间的内容用正则表达式获得文件名绝对路径变相对路径用户名正则匹配英文地址 正则匹配价格 身份证号码的匹配要求文本有指定行数单词首字母大写正则验证日期格式 去掉文件的后缀名验证邮箱的正则表达式匹配源代码中的链接匹配 Read More
posted @ 2011-02-25 10:20 FredTang Views(2605) Comments(0) Diggs(0)
备份!备份!还是备份!MOSS自动备份,根据当前时间生成不同的文件名:"C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\bin\stsadm" -o backup -url http://aa/ -filename D:\AA_backup\%date:~0,10%_AA.bak -overwrite\%date:~0,10% 取当前时间将以上命令保存在一个cmd文件中,然后利用计划任务自动运行。此帖原址:http://www.cnblogs.com/wanghao-3/archive/2007/1 Read More
posted @ 2010-12-20 10:51 FredTang Views(139) Comments(0) Diggs(0)
域用户组织结构图 http://www.cnblogs.com/virusswb/archive/2009/04/28/1445517.htmlhttp://blog.csdn.net/perky_zhou/archive/2004/10/12/133742.aspxhttp://www.cnblogs.com/xiaoshatian/archive/2008/07/15/1242998.htmlhttp://www.cnblogs.com/wanghao-3/archive/2007/06/28/799238.html Read More
posted @ 2010-12-14 23:07 FredTang Views(92) Comments(0) Diggs(0)
1.获取每个月中的最后一条记录的日期 Read More
posted @ 2010-03-25 10:34 FredTang Views(298) Comments(0) Diggs(0)
摘自:MSDNThe situation is similar to personal secrets (shared only with friends), family secrets (shared with friends and children), and nonsecrets (shared with anybody), respectively.A Partial:It is po... Read More
posted @ 2010-03-08 10:33 FredTang Views(1303) Comments(0) Diggs(0)