摘要: 我这个人比较懒,图片我就不上传了基本就说说步骤,记录下安装时遇到的坑,还有各种问题。系统环境:win7软件:VirtualBox 4.2.16(坑1)VagrantLaravel HomesteadGit首先安装好 VirtualBox 和 Vagrant,安装完成 Vagrant 后需要重启,重启... 阅读全文
posted @ 2015-08-17 09:56 yanqing07 阅读(1548) 评论(1) 推荐(0) 编辑
摘要: 这篇文章是记录下遇到的问题的 安装部分推荐大家看 http://www.mr-wu.cn/aliyun-ecs-ubuntu/ 这里摘录安装部分: 安装mysql sudo apt-get install mysql-server 安装Apache sudo apt-get install apac 阅读全文
posted @ 2016-02-05 20:09 yanqing07 阅读(2806) 评论(0) 推荐(0) 编辑
摘要: 服务端开始准备改造成Restuful风格API.旧版本采用if else对请求判断分发的机制太丑陋,选用了CodeIgniter框架。使用插件:https://github.com/chriskacerguis/codeigniter-restserver因为使用了CodeIgniter的SAE版本... 阅读全文
posted @ 2015-05-08 09:45 yanqing07 阅读(2027) 评论(0) 推荐(0) 编辑
摘要: 由于upload.php中的写文件是通过copy和move_uploaded_file来实现的,因此当中文名作为参数传递到copy函数中时,需要将gb2312编码的中文转换为UTF-8编码形式:$config['file_name'] = iconv("UTF-8","gb2312", $_FILES['userfile']['name'])userfile是页面上传输入框的name <input type="file" name="userfile"/> 阅读全文
posted @ 2013-05-15 16:54 yanqing07 阅读(452) 评论(0) 推荐(0) 编辑
摘要: 二、zen-Coding的使用zen-Coding的使用需要掌握CSS和HTML相关知识。其实只要对CSS的选择器比较熟悉,就可以得用简短的类似于CSS选择器的代码高效的编写出HTML代码。打开Notepad++编辑器,输入以下代码:div#name然后接着按一下快捷键ctrl+E,就会自动生成如下的HTML代码:1 <divid="name"></div>接下来看一个更高效的例子div#header>div#logo+ul.nav>li.item-$*5>a按ctrl+E生成如下代码1 2 3 4 5 6 7 8 9 10 < 阅读全文
posted @ 2013-05-05 08:55 yanqing07 阅读(126) 评论(0) 推荐(0) 编辑
摘要: {dede:channelartlist typeid='top' row='7'} <li class="{dede:field.currentstyle/}"> <a href="{dede:field name='typeurl'/}">{dede:field name='typename'/}</a> <ul class='sub_menu'> {dede:channel type='son' nosel 阅读全文
posted @ 2012-10-30 11:25 yanqing07 阅读(407) 评论(0) 推荐(0) 编辑
摘要: 引言淘宝的开放平台提供了很多语言的SDK,许多开发者可以方便的利用SDK调用淘宝开放平台的数据,在Web开发方面,http://www.cit.cn/projects/c-cpp/php.html仍然是最热门的开发语言,通过http://www.cit.cn/projects/php/codeigniter.html开发框架调用淘宝SDK数据应该是一件非常开心的事情。安装下载 CodeIgniter的淘宝libraries解压到application\\libraries\\使用申请应用初始化类库,这里需要到http://open.taobao.com/index.htm注册应用的SDK的ap 阅读全文
posted @ 2012-09-20 15:16 yanqing07 阅读(526) 评论(0) 推荐(0) 编辑
摘要: 注意的是一定要控制div的宽度,否则没有效果css控制:text_ellipsis以省略号显示,test_clip 以截断文字方式显示。<style type="text/css">.text_ellipsis{text-overflow:ellipsis; overflow:hidden; white-space:nowrap; width:300px;}.test_clip {text-overflow:clip; overflow:hidden; white-space:nowrap; width:300px;}</style> 阅读全文
posted @ 2012-09-18 10:49 yanqing07 阅读(191) 评论(0) 推荐(0) 编辑
摘要: 基础知识php数组添加元素两种方法或者$a[0]="abc";$a[1]="def";$a[] = "hello";$a[] = "world";print_r($a);我的情况$arrName=array();$arr_curent='arrName'; //这里会根据条件 把$arr_curent置为不同的数组变量使用$$arr_curent[]=$要添加的元素 时直接语法不通过修改为:$arr_curent[]='arr_weixiu';添加元素时:$$arr_curent=$ 阅读全文
posted @ 2012-08-18 14:10 yanqing07 阅读(7865) 评论(0) 推荐(0) 编辑
摘要: 方法很简单就是在css里面使用filter滤镜.r_f_l li.cur {background: url("bg_nav_edito_sel2.png") no-repeat right top; border-width: 0px 1px 0px 0px; border-style: none solid none none; border-color: currentColor rgb(184, 184, 184) currentColor currentColor; padding: 1px 0px 0px; width: 262px; color: rgb(255 阅读全文
posted @ 2012-06-26 10:37 yanqing07 阅读(189) 评论(0) 推荐(0) 编辑