php cli模式下获取参数的方法
摘要:转载声明:http://blog.csdn.net/fdipzone/article/details/51945892 php在cli模式下接收参数有两种方法 1.使用argv数组 2.使用getopt方法 getopt() 函数的用法,详细见php官方手册
阅读全文
posted @
2017-04-26 17:17
mingaixin
阅读(342)
推荐(0) 编辑
x-www-form-urlencoded与multipart/form-data区别
摘要:转载声明: http://blog.chinaunix.net/uid 7210505 id 329700.html 在Flex中,UrlRequest中的contentType默认值为 application/x www form urlencoded。 而对于 FileReference.upl
阅读全文
posted @
2017-04-26 17:13
mingaixin
阅读(593)
推荐(0) 编辑
Mac 终端Terminal光标移动快捷键
摘要:声明: 转载自: http://blog.csdn.net/lgm252008/article/details/8253519 在Mac系统中并没有Home、End等键,所以在使用时并不是特别的顺手,但是有几个键位组合可以使Terminal的操作更加灵活方便。 1、将光标移动到行首:ctrl + a
阅读全文
posted @
2017-04-25 13:44
mingaixin
阅读(992)
推荐(0) 编辑
httpie的使用
摘要:安装 brew install httpie 使用 模拟提交表单 http f POST yhz.me username=nate 显示详细的请求 http v yhz.me 只显示Header http h yhz.me 只显示Body http b yhz.me 下载文件 http d yhz.
阅读全文
posted @
2017-04-21 16:55
mingaixin
阅读(532)
推荐(0) 编辑
nginx+lua的基本原理概念介绍
摘要:一. 概述 Nginx是一个高性能,支持高并发的,轻量级的web服务器。目前,Apache依然web服务器中的老大,但是在全球前1000大的web服务器中,Nginx的份额为22.4%。Nginx采用模块化的架构,官方版本的Nginx中大部分功能都是通过模块方式提供的,比如Http模块、Mail模块
阅读全文
posted @
2017-04-21 16:29
mingaixin
阅读(2509)
推荐(0) 编辑
关于MySQL数据导出导入
摘要:声明: 转载自 http://blog.chinaunix.net/uid 16844903 id 3411118.html 工具 mysql mysqldump 应用举例 导出 导出全库备份到本地的目录 mysqldump u$USER p$PASSWD h127.0.0.1 P3306 rout
阅读全文
posted @
2017-04-19 17:22
mingaixin
阅读(189)
推荐(0) 编辑