>>>函数名:httpPost
功能:向$url POST $data数据
code:
/**
* [httpPost 向$url POST $data数据]
* @param [sting] $url [action url]
* @param [array] $data [数据数组 eg:$data = array('user'=>'myname','pwd'=>...
分类:
Web程序 时间:
2015-05-01 10:45:58
阅读次数:
164
ref: http://stackoverflow.com/questions/979975/how-to-get-the-value-from-the-url-parameter 函数:function getQueryParams(qs) { qs = qs.split("+").j...
分类:
Web程序 时间:
2015-05-01 10:42:24
阅读次数:
151
函数描述checkdate()验证格利高里日期。date_default_timezone_get()返回默认时区。date_default_timezone_set()设置默认时区。date_sunrise()返回给定的日期与地点的日出时间。date_sunset()返回给定的日期与地点的日落时间...
分类:
Web程序 时间:
2015-05-01 09:19:08
阅读次数:
130
http://www.softpedia.com/get/Programming/Other-Programming-Files/Python-x-y.shtmlPythonxy兴趣小组QQ群237031331,欢迎岩土届科研人士加入。软件下载地址:http://code.google.com/p/...
分类:
编程语言 时间:
2015-05-01 09:18:19
阅读次数:
147
由于种种原因,决定今天开始从centos7转为ubuntu14.0.但是一开始就遇到了一个问题。ubuntu的源貌似被墙了。没有办法,只好换源。如是参考了下面的帖子。换源参考链接但是又出现了一个问题,百度了好久才找到zhao@ubuntu:~$ sudo apt-get -f install gcc...
分类:
系统相关 时间:
2015-04-30 23:15:09
阅读次数:
294
http://www.omgubuntu.co.uk/2014/11/install-cinnamon-2-4-ubuntu-14-04-lts sudo add-apt-repository ppa:gwendal-lebihan-dev/cinnamon-nightlysudo apt-get ...
分类:
系统相关 时间:
2015-04-30 23:13:26
阅读次数:
139
Given two strings s and t, determine if they are isomorphic.
Two strings are isomorphic if the characters in s can be replaced to get t.
All occurrences of a character must be replaced with anot...
分类:
其他好文 时间:
2015-04-30 21:52:56
阅读次数:
207
1. 环境安装sudo apt-get install apache2sudo apt-get install postgresql-9.1sudo apt-get install php5sudo apt-get install php5-pgsql2. 下载wordpress,wget -O w...
分类:
数据库 时间:
2015-04-30 21:40:39
阅读次数:
403
http://www.nowamagic.net/php/php_SubMixedString.php http://waiting.iteye.com/blog/581888 function?get_word($string,?$length,?$dot?=?‘..‘,$charset=‘gbk‘)?{
????
????if(strlen($string)?...
分类:
其他好文 时间:
2015-04-30 20:31:33
阅读次数:
162
收藏来源于:http://www.cnblogs.com/babycool/p/3922738.html对于一般前台页面发起的get和post请求,我们在Web API中要如何来处理。这里我使用Jquery 来发起异步请求实现数据调用。 继续使用上一文章中的示例,添加一个index.html页面,....