PHP

API接口加密方法API接口加密代码分享

API接口加密校验源代码分享 API接口做好了,总不能裸奔调用吧,也不能在HTTP/HTTS里键入约定的密钥模式,下面给大家介绍一种简单的API接口加密验证 API接口加密通信思路: 1. 约定密钥,密钥在实际操作...

一个简易的ORM类

<?php /** * Created by PhpStorm. * User: siediyer * Date: 2017-10-28 * Time: 18:22 */ class MyOrm { public $host = '127.0.0.1'; //数据库地址 public $dbname = 'test'; //...

PHP安装rabbitmq扩展(踩坑)

我在项目中应用rabbitmq已很多年了,自己从没总结过。在用的时候感觉之前的东西又忘,然后又去百度里各种找资料,找资料这种折腾的事太累。现在想把这个过程写下来,以备不时之需,人老了记忆力在下降。写技术文...

php发送http put/patch/delete请求

<?php /** * http.php * 用来向服务器的RESTful API发起各类HTTP请求的工具函数。 * * 使用: http://mysite.com/http.php?action=xxx * xxx \in {get,post,put,patch,delete} * * Created by P...

Title - Artist
0:00