首页 > 资讯列表 >  本页面生成Meili专题报道,Meili滚动新闻,Meili业界评论等相关报道!
  • PHP网页游戏学习之Xnova(ogame)源码解读(十二)

    PHP网页游戏学习之Xnova(ogame)源码解读(十二)

    本文主要为大家讲解的是PHP网页游戏Xnova(ogame)源码解读研究页面部分,需要的朋友可以参考下 十五、研究页面(ResearchBuildingPage.php) 研究因为没有队列,所以相对简单一些;但是也有一些比较特殊的东西。我们先看研究之前的一个处理函数HandleTechnologieBuild()...

    PHP 2014-12-20 12:21:03
  • 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错误: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 APPs

           尝试过Win8系统的用户都知道Metro界面,里面的应用需要前往应用商店下载,并且只显示到Metro界面。肯定有用户想要在传统桌面启动Metro APPs,而不需要特地点到Metro界面...

    系统程序 2014-12-20 07:42:07
  • php中strtotime函数用法详解

    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
  • PHP Warning:  array_merge() : Argument #1 is not an array in...错误解决方法

    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实现上传头像界面无跳转(刷新)示例

    本文是一个php+js iframe实现上传头像界面无跳转(刷新)示例,感兴趣的同学参考下。 上传头像,界面无跳转的方式很多,我用的是加个iframe那种...

    PHP 2014-12-19 05:42:03
  • php错误:array_slice() expects parameter 1 to be array, null given in解决方法

    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 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
  • php+iframe实现隐藏无刷新上传文件示例

    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
  • PHP Fatal error:  Maximum execution time of 30 seconds exceeded in 解决方法

    PHP Fatal error: Maximum execution time of 30 seconds exceeded in 解决方法

    本文为大家讲解的是PHP Fatal error:  Maximum execution time of 30 seconds exceeded in 解决方法,感兴趣的同学参考下. 错误描述 PHP Fatal error:  Maximum execution time of 30 seconds exceeded in /文件名...

    PHP 2014-12-19 01:54:03
  • PHP表单验证的3个函数ISSET()、empty()、is_numeric()的使用方法

    PHP表单验证的3个函数ISSET()、empty()、is_numeric()的使用方法

    本文为大家介绍了PHP表单验证的3个函数ISSET()、empty()、is_numeric()的使用方法,感兴趣的同学参考下。 ISSET();——适合于检测是否存在这个参数...

    PHP 2014-12-19 01:09:06
  • php.ini中时区选项date.timezone设置方法

    php.ini中时区选项date.timezone设置方法

    本文为大家讲解的是php.ini中时区选项date.timezone设置方法,非常实用的一个技巧,中国大陆的开发者注意了,难到你没发现你的php时间相差8小时吗,感兴趣的同学参考下。 date.timezone设置php5默认date.timezone为utc,改为date.timezone = PRC即可解决时间相差八小时的问题,但我在php的官方文档中看了半天也没找到这个参数啊 虽然知道这个参数表示“中华人民共和国”的意思,但官方文档 中并没有这样的参数,只有Asia/Shanghai、Asia/Hong_Kong等这些参数啊,为何这里可以设置为RPC,哪位给指点指点,这个参数 究竟是在哪儿?官方文档中看来看去的确并没有此参数啊,不解...

    PHP 2014-12-18 01:03:06

站长搜索

http://www.adminso.com

Copyright @ 2007~2024 All Rights Reserved.

Powered By 站长搜索

打开手机扫描上面的二维码打开手机版


使用手机软件扫描微信二维码

关注我们可获取更多热点资讯

站长搜索目录系统技术支持