php
文章平均质量分 87
树呱
这个作者很懒,什么都没留下…
展开
-
解决php的“It is not safe to rely on the system’s time
引用于:http://beikeit.com/post-682.htmlPHP调试的时候出现了警告:It is not safe to rely on the system解决方法,其实就是时区设置不正确造成的,本文提供了3种方法来解决这个问题。实际上,从PHP 5.1.0开始当对使用date()等函数时,如果timezone设置不正确,在每一次调用时间函数时,都会产生E_转载 2016-07-08 17:20:44 · 347 阅读 · 0 评论 -
excel中文名转为英文名,姓和名的第一个字母大写,中间留空格
Function pinyin(p As String) As Stringi = Asc(p)Select Case iCase -20319 To -20318: pinyin = "a"Case -20317 To -20305: pinyin = "ai"Case -20304 To -20296: pinyin = "an"Case -20295 To -2029原创 2017-08-08 14:55:17 · 10530 阅读 · 1 评论