微信--订单处理页:createOauthUrlForCode(WxPayConf_pub::JS_API_CALL_URL); ecs_header("Location: $url"); }else { //获取code码,以获取openid $code = $_GET['code'...
分类:
微信 时间:
2015-04-02 18:08:27
阅读次数:
578
最近学习ssh协议,为了方便,自己先实现一套telnet服务,以便之后套用ssh。先从telnet客户端做起。这里先给出RFC的文档链接:http://oss.org.cn/man/develop/rfc/RFC854.txt。基本上把telnet介绍得差不多了。但关于NVT的介绍太少,也没有给出一个标准。就比如说键盘的方向键ASC..
分类:
Web程序 时间:
2015-04-01 20:24:30
阅读次数:
208
1 class Solution { 2 public: 3 string getRange(int start, int end) { 4 ostringstream oss; 5 if (start == end) { 6 oss...
分类:
其他好文 时间:
2015-03-21 08:36:43
阅读次数:
154
Pretty straight forward. count numbers and put char. 1 class Solution { 2 public: 3 string getNext(string s) { 4 ostringstream oss; 5 ...
分类:
其他好文 时间:
2015-03-19 07:47:22
阅读次数:
129
https://icpcarchive.ecs.baylor.edu/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=3916这道题要求一种填充+挖坑+建屏障的方法,使得这块土地上的所有坑和草地之间都有屏障,挖坑...
分类:
其他好文 时间:
2015-03-18 23:16:16
阅读次数:
251
shell EOFShell中通常将EOF与 batch_file5 echo "use oss_platform;" > batch_file67 URL_list=`cat url_for_db_final`8 for URL in $URL_list9 do10 echo "update p....
分类:
系统相关 时间:
2015-03-18 19:55:02
阅读次数:
202
开始做项目,从零开始搭建一个网站的过程。这里以www.sampe.com为例,步骤如下。1.在万网购买域名:www.sample.com2.购买阿里云ECS云主机3.在万网的域名管理中将域名解析到所购买的阿里云主机的ip地址上面。4.在服务器(也就是云主机上面)设置域名的绑定(教程:http://w...
分类:
Web程序 时间:
2015-03-18 17:52:38
阅读次数:
165
1 $sql = "delete i,g,a from " .$ecs->table('order_info'). " as i join " .$ecs->table('order_goods'). " as g on i.order_id = g.order_id join " .$ecs->....
分类:
其他好文 时间:
2015-03-17 12:16:46
阅读次数:
120