08 2017 档案
摘要:// 判断没有登录时,跳转到登录页面 protected function check_login(){// header("location:".getenv("HTTP_REFERER")); $session_user=session('user'); if(empty($session_us
阅读全文
摘要:https://git.oschina.net/cik/pinyin_php
阅读全文
摘要:PHP 生成 PDF PHP 生成 PDF 1今天使用的是TCPDF。 http://www.51ask.org/article/232 TCPDF具有以下特性: 1、支持页面页脚;2、支持HTML标签代码;3、支持jpg/png/gif/svg图形图像;4、支持表格;5、支持中文字符;(有些PD
阅读全文
摘要:当你在做一个抓取程序的时候,php空白了好长一段时间然后报出现如下这个错误提示:Fatal error: Maximum execution time of 30 seconds exceeded in ......很简单,意思是说脚本执行时间超过了30秒的上限。这个错误以前经常碰到,一般都是直接在
阅读全文
摘要:### 1在防火墙封 cat /etc/sysconfig/iptables ## # Firewall configuration written by system-config-firewall 2 # Manual customization of this file is not reco
阅读全文
摘要:<?php/** * app支付类服务端签名,以及验签 */namespace Mobile\Controller;use Common\Controller\MobileframeController;class PaysController extends MobileframeControll
阅读全文
摘要:public function add_post(){ $upload = new \Think\Upload();// 实例化上传类 $upload->maxSize = 8388608 ;// 设置附件上传大小(字节单位) $upload->exts = array('gif','jpeg','
阅读全文

浙公网安备 33010602011771号