1、Composer安装与基本使用 https://docs.phpcomposer.com/00-intro.html 1)、下载 # curl -sS https://getcomposer.org/installer | php 或者 # php -r "copy('https://install.phpcomposer.com/inst...
Monthly Archives: 2022年九月
linux下Thinkphp6+workerman+gateway基本简介与环境搭建
2022.09.13 , php技术, Thinkphp , 暂无评论 1290个游客飘过PHP生成8位单个邀请码/8位卡密
2022.09.13 , Mysql, php技术 , 暂无评论 1286个游客飘过/**PHP生成8位单个邀请码/8位卡密 * @return string **/ public function make_invite_code(){ $code="ABCDEFGHIGKLMNOPQRSTUVWXYZ"; $rand=$code[rand(0,25)].strtoupper(...
PHP如何实现图片添加文字,生成新图片
2022.09.13 , php技术 , 暂无评论 980个游客飘过/* **生成证书图片 **$BlockHash 区块hash ** */ public function createNewPic($mer_id,$mer_name,$BlockHash,$TxID){ //背景图片 $path_1 = 'img/background_code.png'; //照片 ...
PHP 构造模拟http请求https_request支持GET和POST
2022.09.13 , HTTP协议, php技术 , 暂无评论 1265个游客飘过/* **PHP 构造 模拟 http 请求 https_request 支持GET和POST */ function https_request($url, $data = null) { $curl = curl_init();//初始化 curl_setopt($curl, CURLOPT_URL, $url); cur...