摘要: 先安装deepin-ui,建议安装最新版本 http://packages.linuxdeepin.com/deepin/pool/main/d/deepin-ui/再安装deepin-screenshot http://packages.linuxdeepin.com/deepin/pool/ma... 阅读全文
posted @ 2014-12-12 22:01 lovefree13 阅读(722) 评论(0) 推荐(0) 编辑
摘要: 去这里下载lightworks:http://www.lwks.com/dmpub/lwks-12.0.1-amd64.deb去这里下载libtiff4依赖包:http://security.ubuntu.com/ubuntu/pool/main/t/tiff/libtiff4_3.9.5-2ubu... 阅读全文
posted @ 2014-12-12 21:01 lovefree13 阅读(2081) 评论(0) 推荐(0) 编辑
摘要: ubuntu LAMP 配置文件位置:apache:/etc/apache2/apache2.confphp:/etc/php5/apache2/php.inimysql:/etc/mysql/my.cnfubuntu LAMP 常见命令:apache重启:sudo /etc/init.d/apac... 阅读全文
posted @ 2014-11-11 18:08 lovefree13 阅读(163) 评论(0) 推荐(0) 编辑
摘要: 1 //定义编码 2 header( 'Content-Type:text/html;charset=utf-8 '); 3 4 //Atom 5 header('Content-type: application/atom+xml'); 6 7 //CSS 8 header('Co... 阅读全文
posted @ 2014-10-31 16:28 lovefree13 阅读(135) 评论(0) 推荐(0) 编辑
摘要: 演示地址http://1.mydlpu.sinaapp.com/cet/index.php下载地址http://down.chinaz.com/soft/36504.htm 阅读全文
posted @ 2014-09-22 20:55 lovefree13 阅读(133) 评论(0) 推荐(0) 编辑
摘要: http://blog.snsgou.com/post-775.html一、举例说明A.如何判断一个变量是否定义?01';0607$empty= !empty($test) ?"test is define!":"test is undefine!";08echo"empty:$empty"... 阅读全文
posted @ 2014-06-16 14:04 lovefree13 阅读(496) 评论(0) 推荐(0) 编辑
摘要: http://blog.snsgou.com/post-138.htmlPHP中两个数组合并可以使用+或者array_merge,但之间还是有区别的,而且这些区别如果了解不清楚项目中会要命的!主要区别是两个或者多个数组中如果出现相同键名,键名分为字符串或者数字,需要注意1)键名为数字时,ar... 阅读全文
posted @ 2014-06-16 13:59 lovefree13 阅读(281) 评论(0) 推荐(0) 编辑
摘要: http://blog.snsgou.com/post-650.html字符串转换类函数addcslashes函数:以C语言风格使用反斜线转义字符串中的字符addslashes函数:使用反斜线引用字符串chop函数:清除字符串中的连续空格get_html_translation_table函... 阅读全文
posted @ 2014-06-16 13:57 lovefree13 阅读(129) 评论(0) 推荐(0) 编辑
摘要: http://blog.snsgou.com/post-550.html一、数组操作的基本函数 数组的键名和值array_values($arr); 获得数组的值array_keys($arr); 获得数组的键名array_flip($arr); 数组中的值与键名互换(如果有重复前面的... 阅读全文
posted @ 2014-06-16 13:56 lovefree13 阅读(114) 评论(0) 推荐(0) 编辑
摘要: http://blog.snsgou.com/post-5.htmlarray_change_key_case — 返回字符串键名全为小写或大写的数组array_chunk — 将一个数组分割成多个array_combine — 创建一个数组,用一个数组的值作为其键名,另一个数组的值作为其值... 阅读全文
posted @ 2014-06-16 13:53 lovefree13 阅读(125) 评论(0) 推荐(0) 编辑