最新消息:imsyx老店新开,原博客因服务器问题,数据全毁,痛心!

tally的文章

简单的PHP excel导出功能
PHP开发

简单的PHP excel导出功能

9年前 (2015-05-19) 920浏览

header ('Content-type:application/vnd.ms-excel'); header('Content-Disposition:filename=报名信息.xls'); $header = "<!DOCTYPE ...

微信最新JSAPI调用方法
代码分享

微信最新JSAPI调用方法

9年前 (2015-01-12) 1332浏览

先引入微信官方类: <?php class JSSDK { private $appId; private $appSecret; public function __construct($appId, $appSecr...

PHP日历calendar
PHP开发

PHP日历calendar

9年前 (2015-01-09) 2553浏览

上效果: 看代码: /* 日历开始 */ $monthnow=isset($_GET['mon'])?$_GET['mon']:date("n"); $yearnow=isset($_GET['year'])?$_GET['year']...

解决PHP json_encode 中文乱码问题
PHP开发

解决PHP json_encode 中文乱码问题

9年前 (2015-01-06) 830浏览

亲测,可用! /* * 自定义json_encode,防止中文乱码,PHP5.4以下建议使用 * tally 2014-12-23 08:43:06 */ function encode_json($str) { return ur...