[ 2008/04/09 18:48 | by 网络毛毛虫 ]
PHP5中有个时区设置功能。PHP.INI中有关于默认时区的设置,默认时区是服务器系统所设置时间。根据报告,设置默认市区后对效率有提升,而且能够解决部分PHP代码未知问题。

引用
;date.timezone = => date.timezone = “Asia/Chongqing”


说明:PHP的默认本地时区设置,经过长期使用发现在PHP5里面还是手动设置一下好。在重庆,那么就是”Asia/Chongqing”或者”Asia/Chungking”(重庆别称),所有支持的时区可以在下面这个地址找到:

http://cn2.php.net/manual/en/timezones.php

常用亚洲时区:
Tags: ,
[ 2008/04/09 17:23 | by 网络毛毛虫 ]

单一禁止服务:
sc config <service name> start= disabled

批量禁止服务:
找一个systeminternal的软件 psservice.exe

然后写一个下面的命令

for /f %%i in (srv_list.txt) do psservice.exe /accepteula stop %%i
for /f %%i in (srv_list.txt) do psservice.exe /accepteula setconfig %%i disabled

然后srv_list.txt里输入你的服务名
trkwks
browser
dnscache
ersvc
helpsvc
messenger
spooler
remoteregistry
lanmanserver
snmp
lmhosts
w32time
wzcsvc
等等

今天收到godaddy给老用户的优惠码邮件,使用该注册码,在9。99美元的基础上,可以享受30%的优惠,实际价格在7美元不到,不含20美分的税费。可以说相当的优惠。需要的朋友可以试试哦。。。有效期是4月份。
优惠码是:gdp0403a
邮件标题就是:Save BIG on .COM names - now 30% OFF! 可见非常诱人哦。

Dear zheng he,

Start a Web site for your business, share photos online with family and friends, promote your hobby...

.COM is the perfect domain for all this and so much more. ACT NOW and you can register or renew as many .COM domains as you want for 30% OFF* our regular price of $9.99/yr!

Plus, every GoDaddy.com domain includes an incredible collection of FREE extras: Personalized Email, Online Photo Album, Quick Blogcast, Hosting and Web site builder and much more+. Everything you need to create your own Web presence is included with your domain!

So grab one name, grab 100 – there's no limit to the number, but there is a limit to the time! This special 30% OFF* sale expires April 30, 2008, so start shopping now! And don't forget that you can lock in these savings for up to 10 years with our multi-year registration option.

Order online at GoDaddy.com or call 1-480-505-8821 today!
To get your discount, simply enter source code gdp0403a in your shopping cart, or mention the code when you call.
Thanks for being a Go Daddy® customer.


Sincerely,

Bob Parsons
CEO and Founder
GoDaddy.com

今天通过GMAIL的POP代理收信功能,收取几个不是特别常用信箱的邮件.但是发现163.COM的邮箱无论如何都不能使用POP3功能,而自己的126.com的邮箱可以使用POP3.
最初以为是自己设置问题,后来才知道从2006年11月开始,网易不再提供POP3功能的收信,除非之前使用过POP功能,否则一律关闭.
所以出现之前的126邮箱POP可以收,163邮箱不能收的情况.另外赞一下,GMAIL的POP代理功能非常强大.
     
[ 2008/04/07 23:11 | by 网络毛毛虫 ]
清明节周末,和家里人去垫江牡丹园.满怀激情被当头一棒.牡丹的确很少,采摘也很严重.建议大家以后都别去那地方,的确没意思.
几张手机拍的照片,老dopod696,效果不好.嘻嘻...

 
分页: 12/93 第一页 上页 7 8 9 10 11 12 13 14 15 16 下页 最后页 [ 显示模式: 摘要 | 列表