php9 分钟
PhpSpreadsheet(PHPExcel)的使用 —— 生成/读取excel
PHPExcel已经不再维护,PhpSpreadsheet是PHPExcel的下一个版本 安装 composer require phpoffice/phpspreadsheet 生成excel # conf.php Alignment::VERTICAL_CENTER, 'rotation'=>0, 'wrap'=>…
4,048 次阅读
阅读全文 php相关的开发实践、问题记录与技术笔记。
PHPExcel已经不再维护,PhpSpreadsheet是PHPExcel的下一个版本 安装 composer require phpoffice/phpspreadsheet 生成excel # conf.php Alignment::VERTICAL_CENTER, 'rotation'=>0, 'wrap'=>…
$data=[ ['loc'=>'https://www.cuiwei.net/', 'lastmod'=>'2009-01-01'],//首页 ]; $xml=createXML($data); file_put_contents('sitemap.xml', $xml); function createXML($d…
curl curl http://www.icanhazip.com/ curl -x 127.0.0.1:3128 http://www.icanhazip.com/ socks5 curl --socks5 127.0.0.1:3129 http://www.icanhazip.com/ php define(UR…