![](https://www.wangmingchang.com/wp-content/themes/dux/img/thumbnail.png)
实例 | 使用qrcode生成二维码
下载qrcode类 https://sourceforge.net/projects/phpqrcode/ QRcode类(第2963行) public static function png($text, $outfile = false...
下载qrcode类 https://sourceforge.net/projects/phpqrcode/ QRcode类(第2963行) public static function png($text, $outfile = false...
调用的时候: $image = Helper_Image::createFromFile(‘文件路径’,‘文件保存格式’); $image->resampled(‘’, ‘’); //缩放到100px * 100PX $image-&...
<?php function subTree($arr, $id=0, $depth=0) { static $tree = array(); foreach ($arr as $key=>$value) { if($value...
<?php class Send { private $Key = ''; private $Secret = ''; /** *@param string phone 手机号 *@param array param 参数(值必须为字...
curl_close — 关闭一个curl会话 curl_copy_handle — 拷贝一个curl连接资源的所有内容和参数 curl_errno — 返回一个包含当前会话错误信息的数字编号 curl_error — 返回一个包含当前会话...
无法提供摘要。这是一篇受保护的文章。
<?PHP /** * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Gene...
<?php header('Content-type:text/html;charset=gb2312'); error_reporting(E_ERROR | E_WARNING | E_PARSE); set_time_limit...
<?php header('Content-type:text/html;charset=utf-8'); error_reporting(E_ERROR | E_WARNING | E_PARSE); set_time_limit(...
<?PHP // PHP根据身份证号,自动获取对应的星座函数 function get_xingzuo($cid) { // 根据身份证号,自动返回对应的星座 if (!isIdCard($cid)) return ''; $bir ...