随笔分类 -  PHP

摘要:阿里大鱼短信提醒服务应用实例(php): function.php 其他Class文件按要求引入并实例化即可 阅读全文
posted @ 2017-10-17 14:46 三尺微命--- 阅读(1680) 评论(0) 推荐(0)
摘要:<?php/** * Created by PhpStorm. * User: xiaolong * Date: 2017/9/6 * Time: 11:51 */class RSA{ /** * 返回数据验签失败错误码,和其他错误码有冲突时可自行修改该参数值 */ const SIGN_INVAL 阅读全文
posted @ 2017-09-06 15:27 三尺微命--- 阅读(1085) 评论(0) 推荐(0)
摘要:1 public_key = file_get_contents($public_key_file)) || false == ($this->private_key = file_get_contents($private_key_file))) { 57 throw new Exception('read key file fail'); 58 ... 阅读全文
posted @ 2017-07-04 17:00 三尺微命--- 阅读(434) 评论(0) 推荐(0)
摘要:检测适合版本: https://xdebug.org/wizard.php phpinfo 页html源码 将下载的文件放在此目录下: "D:\www\phpStudy\php\php-5.6.27-nts\ext php.ini 文件写入以下配置: [xdebug]zend_extension=" 阅读全文
posted @ 2017-05-04 20:16 三尺微命--- 阅读(245) 评论(0) 推荐(0)
摘要:网络应用程序,分为前端和后端两个部分。当前的发展趋势,就是前端设备层出不穷(手机、平板、桌面电脑、其他专用设备......)。 因此,必须有一种统一的机制,方便不同的前端设备与后端进行通信。这导致API构架的流行。 RESTful API 设计要素详见此文 : RESTful API 设计指南 以下 阅读全文
posted @ 2017-03-25 14:54 三尺微命--- 阅读(157) 评论(0) 推荐(0)
摘要:方法來源:http://victorblog.com/2012/12/20/make-angularjs-http-service-behave-like-jquery-ajax/ $http服务($http.post()等等)不与jQuery等同(jQuery.post()等), 区别在于jQue 阅读全文
posted @ 2017-03-14 17:06 三尺微命--- 阅读(969) 评论(0) 推荐(0)
摘要:在此下载某一版本的压缩包并在Linux中解压 http://wkhtmltopdf.org/obsolete-downloads.html tar -jxvf wkhtmltopdf-0.10.0_rc2-static-amd64.tar.bz2 解压后使用./wkhtmltopdf-amd64 – 阅读全文
posted @ 2017-02-09 14:34 三尺微命--- 阅读(5951) 评论(0) 推荐(0)
摘要:Mailgun API 官方文档:https://documentation.mailgun.com/user_manual.html#introduction 注册Mailgun 并根据流程获取 Domain(service_url) 和 api_key 然后就只需编写以下代码即可了 阅读全文
posted @ 2017-02-09 12:15 三尺微命--- 阅读(2519) 评论(1) 推荐(0)