摘要:
$imgsource="qrcodes/1.png";$image = file_get_contents($imgsource); //将文件信息读取到一个内存中的字符串变量$im = imagecreatefromstring($image);//从字符串信息创建图片 阅读全文
2018年1月14日 #
摘要:
define(‘常量’,‘常量值’) define来定义常量, echo 也能输出常量, get_defined_constants(true) 返回一个多维数组,分类为第一维的键名,常量和它们的值位于第二维。 阅读全文