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... 阅读全文
posted @ 2016-11-11 15:00 xyyphp 阅读(180) 评论(0) 推荐(0)
摘要:#!/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... 阅读全文
posted @ 2016-11-11 12:16 xyyphp 阅读(1336) 评论(0) 推荐(0)
摘要:调用方式: $header = self::getHeader(); $data = self::postUrl($url, $header); /** * 组合Header * @return type */ protected static function getHeader() { retu 阅读全文
posted @ 2016-11-11 10:44 xyyphp 阅读(310) 评论(0) 推荐(0)
摘要:/** * 跳转 * @param type $msg * @param type $url */ protected function jump($msg, $url) { $html = 提示 {$msg} 3 秒后自动跳转,如不跳转,请点击:{$msg} ... 阅读全文
posted @ 2016-11-03 11:23 xyyphp 阅读(344) 评论(0) 推荐(0)