摘要:
1/ 下载扩展包 composer require intervention/image 2/ 修改app.php 3/ 引入use Intervention\Image\Facades\Image; 4/ 数据处理 // 添加水印 阅读全文
摘要:
function http_get_imgData($url) { $ch = curl_init (); curl_setopt ( $ch, CURLOPT_CUSTOMREQUEST, 'GET' ); curl_setopt ( $ch, CURLOPT_SSL_VERIFYPEER, fa 阅读全文
摘要:
function to_unicode($string) { $str = mb_convert_encoding($string, 'UCS-2', 'UTF-8'); $arrstr = str_split($str, 2); $unistr = ''; foreach ($arrstr as 阅读全文