-
php错误:strtotime(): It is not safe to rely on the system's timezone settings...问题解决方法
本文为大家讲解的是php错误:strtotime(): It is not safe to rely on the system's timezone settings...问题解决方法,感兴趣的同学参考下。 在某些参考资料中是说这两个方法任选其一就可,但经我测试,必须两个方法同时使用,才不会再出现错误提示 PHP Warning: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'As...
PHP 2014-12-20 11:48:07 -
Win8系统如何在桌面开启Metro APPs
尝试过Win8系统的用户都知道Metro界面,里面的应用需要前往应用商店下载,并且只显示到Metro界面。肯定有用户想要在传统桌面启动Metro APPs,而不需要特地点到Metro界面...
系统程序 2014-12-20 07:42:07 -
免费多点续传下载软件FDM 3.9.4.1482下载
站长搜索(www.adminso.com):免费多点续传下载软件FDM 3.9.4.1482下载 站长搜索讯 12月19日消息,Free Download Manager(FDM)更新至3.9.4.1482版,本次更新使得Chrome和Firefox扩展能够安装让非管理员用户安装,并且修复一些bug。注意:FDM在中文环境下安装中文语言可能出现乱码...
业界动态 2014-12-19 21:12:08 -
php addslashes()与addclashes()函数的区别和比较
本文为大家讲解的是php addslashes()与addclashes()函数的区别和比较,感兴趣的同学参考下。 PHP addcslashes() 函数 定义和用法 addcslashes() 函数在指定的字符前添加反斜杠...
PHP 2014-12-19 17:48:06 -
php中strtotime函数用法详解
本文为大家讲解的是php中strtotime函数用法详解,感兴趣的同学参考下. strtotime(字符串$时间[,诠释$现在])int strtotime(string $time [,int $now] 该函数期望得到一个包含美国英语日期格式,并会尝试解析成一个Unix时间戳(多少秒自1970年1月1日00:00:00星期一该格式),相对于现在提供的时间戳,或当前时间如果现在不提供 这个函数将使用TZ环境变量(如果有)来计算时间戳,自PHP 5...
PHP 2014-12-19 16:18:06 -
iis下php mail函数的sendmail配置方法(官方推荐)
本文是一个iis下php mail函数的sendmail配置方法(官方推荐),感兴趣的同学参考下. 很多玩discuz的彭友在使用在线发邮件的功能,但是测试了"通过 PHP 函数的 sendmail 发送(推荐此方式)"怎么都没用,因为本人现在用的是iis+php环境,所以就出这么一个教程,教大家在自己服务器上配置sendmail 首先你需要先到从http://glob.com.au/sendmail/下载sendmail.zip文件,点此可以直接下载噢,然后把它解压到如D:phpsendmail目录下。 然后打开php.ini文件,找到下面这段代码 [mail function] ; For Win32 only. SMTP = localhost smtp_port = 25 ; For Win32 only. ;sendmail_from = [email protected] ; For Unix only. You may supply arguments as well (default: "sendmail -t...
PHP 2014-12-19 14:54:05 -
PHP Warning: array_merge() : Argument #1 is not an array in...错误解决方法
本文为大家讲解了php错误PHP Warning: array_merge() : Argument #1 is not an array in....
PHP 2014-12-19 11:39:04 -
php+js iframe实现上传头像界面无跳转(刷新)示例
本文是一个php+js iframe实现上传头像界面无跳转(刷新)示例,感兴趣的同学参考下。 上传头像,界面无跳转的方式很多,我用的是加个iframe那种...
PHP 2014-12-19 05:42:03 -
php错误:array_slice() expects parameter 1 to be array, null given in解决方法
本文为大家讲解的是PHP Warning: array_slice() expects parameter 1 to be array, null given in错误的原因及解决方法,感兴趣的同学参考 错误描述 php报错 PHP Warning: array_slice() expects parameter 1 to be array, null given in /xxx.php on line xxx 错误原因 array_slice函数的作用是从指定的数组中取出一段数据,如果给定的数组为空,就会报出这样的错误 解决方法 可以用@屏蔽,也可以在使用array_slice前先用empty来判断...
PHP 2014-12-19 04:24:03 -
PHP Fatal error: Call to a member function funname() on a non-object in解决方法
本文为大家讲解的是PHP Fatal error: Call to a member function funname() on a non-object in解决方法,感兴趣的同学参考下. 错误描述 完整错误提示PHP Fatal error: Call to a member function 函数名() on a non-object in /xxx...
PHP 2014-12-19 03:00:05 -
CentOS 6.2使用yum安装LAMP以及phpMyadmin详解
本文为大家讲解的是CentOS 6.2下使用yum安装LAMP以及phpMyadmin详解,yum安装虽然简单,但定制性不强,感兴趣的同学参考下。 介绍如何在CentOs6.2下面使用YUM配置安装LAMP环境,一些兄弟也很喜欢使用编译的安装方法,个人觉得如果不是对服务器做定制,用yum安装稳定简单,何必去download&make&make install呢...
PHP 2014-12-19 02:57:03 -
php+iframe实现隐藏无刷新上传文件示例
本文是一个php+iframe实现隐藏无刷新上传文件示例代码,感兴趣的同学参考下. 首先ajax不能上传文件,这误导了我有段时间,今晚睡不着就照着说明做了个无刷新上传文件 其实原理很简单 <form enctype="multipart/form-data" method="POST" target="upload" action="http://localhost/class.upload.php" > <input type="file" name="uploadfile" /> <input type="submit" /> </form> <iframe name="upload" style="display:none"></iframe> 和一般的<form>标签相比多了...
PHP 2014-12-19 02:15:12