php5 get http response body using curl library
Posted on
|
In
php
get response body of specified web page using php5, such as google homepage.
get parameter using php and compress querystring using javascript
Posted on
|
In
javascript
在php中如果从一个form提交一个数组给php页面的时候,一般在form中就将对应的input属性名写为: name="arr[]", 这样就可以在接收页面直接用php取到$arr = $_POST["arr"]取到这个数组,如果用get方法传送的query string是这样子的话: ?arr=1&arr=2&arr=3时,php则在用$_GET["arr"]获得arr时则会只得到最后赋值的3,这是php处理query string的方法,不同的语言在处理这个query string是不一样的,这不是http协议的规定。
对于server一端还是会正常收到这个请求的query string: ?arr=1&arr=2&arr=3,仍可以用server端的脚本语言重新对参数进行分析,也可以用javascript在client端分析query string。
javascript compress query string
create macos tomcat startup script
Posted on
|
In
macos
open openssl module for php5 in windows
Posted on
|
In
php