Warning: file_put_contents(): open_basedir restriction in effect. File(/var/log/myblog/function_themeUrl.log) is not within the allowed path(s): (/www/wwwroot/myblog/:/tmp/) in /www/wwwroot/myblog/var/Typecho/Common.php on line 934

Warning: file_put_contents(/var/log/myblog/function_themeUrl.log): failed to open stream: Operation not permitted in /www/wwwroot/myblog/var/Typecho/Common.php on line 934

Warning: file_put_contents(): open_basedir restriction in effect. File(/var/log/myblog/function_themeUrl.log) is not within the allowed path(s): (/www/wwwroot/myblog/:/tmp/) in /www/wwwroot/myblog/var/Typecho/Common.php on line 934

Warning: file_put_contents(/var/log/myblog/function_themeUrl.log): failed to open stream: Operation not permitted in /www/wwwroot/myblog/var/Typecho/Common.php on line 934

Warning: file_put_contents(): open_basedir restriction in effect. File(/var/log/myblog/function_themeUrl.log) is not within the allowed path(s): (/www/wwwroot/myblog/:/tmp/) in /www/wwwroot/myblog/var/Typecho/Common.php on line 934

Warning: file_put_contents(/var/log/myblog/function_themeUrl.log): failed to open stream: Operation not permitted in /www/wwwroot/myblog/var/Typecho/Common.php on line 934
命中水

    自己之前对于排序的使用一直都是来自于对sort,ksort等排序函数的基础上,但是对具体的算法原理没有具体考虑过。闲下来,就思考下这些算法的实现。那么本篇文章以及未来的一系列排序文章,将总结排序在php中的原理以及实现:

阅读全文 »

MySQL.jpg

    前几天在做一个需求的时候,需要清理mysql中重复的记录,当时的想法是通过代码遍历写出来,然后觉得太复杂,心里想着应该可以通过一个sql语句来解决问题的。查了资料,请教了大佬之后得出了一个很便利的sql语句,这里分享下这段sql语句和思路。

阅读全文 »

composer

    在现代化的PHP开发当中,离开不了各种各样的组件,那么如何快速在项目中安装和找到这些组件呢?composer正是为这一目的而出现,如果你还不知道composer,那么你就out了。那么什么是composer,它的作用是什么?如何使用?本文将一一揭晓。

阅读全文 »