随笔分类 - PHP
摘要:1 <?php 2 arr = parse_url($url); 4
阅读全文
摘要:1 header("Content-type:text/html;charset=utf-8"); 2 str = 's
阅读全文
摘要:1 <html class="no-js"> 2 <head> 3 <head> 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 5 <title>操作成功</title> 6 <meta name="v
阅读全文
摘要:mcrypt 扩展已经过时了大约10年,并且用起来很复杂。因此它被废弃并且被 OpenSSL 所取代。 从PHP 7.2起它将被从核心代码中移除并且移到PECL中。 PHP手册在7.1迁移页面给出了替代方案,就是用OpenSSL取代MCrypt。 <?php namespace expand; /*
阅读全文
摘要:下载地址: https://www.mupdf.com/downloads/index.html 使用方法: 打开cmd,切换到mupdf文件路径下,再在命令行中敲入命令 mutool.exe draw -o file%d.png file.pdf 输出透明的png mutool.exe conve
阅读全文
摘要://在列表头部插入一个值one,当列表不存在时自动创建一个列表,key1为列表名 redis->rPush("key1","two"); //将一个插入已存
阅读全文
摘要:远程采集一个https页面上的邮箱,死活采集不到,后来发现用上面的这个方法是可以采集到的,需要注意的是,其中curl_setopt(ch, CURLOPT_SSL_VERIFYHOST, false);
阅读全文