- 博客(2)
- 收藏
- 关注
原创 PHP生成word文档
<?php header("Cache-Control: public"); Header("Content-type: application/octet-stream"); Header("Accept-Ranges: bytes"); header('Content-Disposition: attachment; filename=test.doc'); header("Pragma:no-cache"); header("Expires:0"); include_once 'config_f
2020-12-17 16:48:50 158
原创 微信支付回调代码
微信支付回调代码 <?php ini_set('date.timezone','Asia/Shanghai'); include_once '../config_file.php'; $postXml = $GLOBALS["HTTP_RAW_POST_DATA"]; //接受通知参数 if(empty($postXml)){ echo ('{"code":"0","msg":"请求出错"}'); exit(); } //将返回的xml数据进行转换 $response = xml2Array(
2020-12-10 15:03:26 372
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人