11 2016 档案
摘要://返回json数据给js function json_output($err_code = 0 , $error_message = '' , $data = [] , $redirect = '',$jsonp = FALSE){ $ret = array( 'error_code' => $err_code, 'error_message' => $error_messa...
阅读全文
摘要:#!/bin/sh #修改为服务编码 export LANG=zh_CN.utf-8 #Set variable REPOS="$1" REV="$2" SVN=/usr/bin/svn WEB=/home/www/develop LOG=/var/log/svn/post-commit.log #update the code from the SVN $SVN update $WEB...
阅读全文
摘要:调用方式: $header = self::getHeader(); $data = self::postUrl($url, $header); /** * 组合Header * @return type */ protected static function getHeader() { retu
阅读全文
摘要:/** * 跳转 * @param type $msg * @param type $url */ protected function jump($msg, $url) { $html = 提示 {$msg} 3 秒后自动跳转,如不跳转,请点击:{$msg} ...
阅读全文

浙公网安备 33010602011771号