摘要: 一、参考资料 http://www.php.cn/php weizijiaocheng 360446.html http://www.php.cn/keywords %E6%97%A0%E9%99%90%E6%9E%81%E5%88%86%E7%B1%BB.html 本文博客部分内容是上述网上内容搬 阅读全文
posted @ 2018-05-16 18:38 jaspersong 阅读(2538) 评论(0) 推荐(0) 编辑
摘要: 1、标量类型和返回值类型声明 PHP 7增加了对参数类型的声明,除了string类型外,int和array类型也可以声明。 PHP 7 增加了对返回类型声明的支持。 类似于参数类型声明,返回类型声明指明了函数返回值的类型。可用的类型与参数声明中可用的类型相同。 2、 NULL 合并运算符 由于日常使 阅读全文
posted @ 2018-04-15 15:13 jaspersong 阅读(161) 评论(0) 推荐(0) 编辑
摘要: 一、参考资料 https://www.jianshu.com/p/f7451177476a http://yijiebuyi.com/blog/8f985d539566d0bf3b804df6be4e0c90.html https://git scm.com/docs/git reset http: 阅读全文
posted @ 2018-04-02 20:37 jaspersong 阅读(169) 评论(0) 推荐(0) 编辑
摘要: 0、参考资料 https://www.cnblogs.com/chenmh/p/5300370.html 1、导出包括系统数据库在内的所有数据库 执行命令后,如果下面的错,则需要添加跳过表锁的参数 。 导出结果如下: 2、导出pdmp_dev等多个数据库的所有数据 导出多个数据库时,数据库名用空格分 阅读全文
posted @ 2018-03-13 20:02 jaspersong 阅读(187) 评论(0) 推荐(0) 编辑
摘要: 0、参考资料 http://xstarcd.github.io/wiki/MySQL/MySQL sql mode.html http://blog.csdn.net/wulantian/article/details/8905573 https://dev.mysql.com/doc/refman 阅读全文
posted @ 2018-03-12 19:38 jaspersong 阅读(164) 评论(0) 推荐(0) 编辑
摘要: 1、API简介 这段时间和外部公司合作,一直在写对外API接口。提供的API接口是基于http协议的,也是无状态的。每次请求都必须带上身份认证信息。后台服务对身份信息进行校验。 基于HTTP协议的API身份认证有很多种方式,有HTTP Basic,HTTP Digest,API KEY,Oauth, 阅读全文
posted @ 2018-02-26 18:43 jaspersong 阅读(299) 评论(1) 推荐(1) 编辑
摘要: 1、 XSS攻击 1、 消毒 2、 http only http://www.cnblogs.com/TankXiao/archive/2012/03/21/2337194.html http://fex.baidu.com/blog/2014/06/xss frontend firewall 1/ 阅读全文
posted @ 2018-01-27 14:31 jaspersong 阅读(126) 评论(0) 推荐(0) 编辑
摘要: 0、参考资料 1、下载远程文件 https://segmentfault.com/a/1190000003109808 2、判断远程文件是否存在 http://www.manongjc.com/article/1415.html 3、获取文件编码 http://blog.csdn.net/zhezh 阅读全文
posted @ 2018-01-24 18:43 jaspersong 阅读(203) 评论(0) 推荐(0) 编辑
摘要: Linux命令大全 1、http://man.linuxde.net/ 2、https://wizardforcel.gitbooks.io/w3school linux/content/part1.html 阅读全文
posted @ 2018-01-24 15:52 jaspersong 阅读(126) 评论(0) 推荐(0) 编辑
摘要: 0、参考资料 http://linuxtools rst.readthedocs.io/zh_CN/latest/tool/crontab.html http://www.cnblogs.com/peida/archive/2013/01/08/2850483.html 特此说明:该篇博客来源是按照 阅读全文
posted @ 2018-01-23 20:05 jaspersong 阅读(191) 评论(0) 推荐(0) 编辑