1。构建
去...
去安装...
2。启动服务器
Listen on: 0.0.0.0 : 8888
3。客户端连接
➜ ~ telnet 127.0.0.1 8888
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
4。服务器日志
Accept from: 127.0.0.1:61149
5。在客户端和响应表中发表帖子
string(5) "world"
["foo"]=>
string(3) "bar"
}
array(2) {
["foo"]=>
string(3) "bar"
["hello"]=>
string(5) "world"
}
hello, world1">
hello=world&foo=bar
X-Powered-By: PHP/5.4.24
Content-type: text/html
array(2) {
["hello"]=>
string(5) "world"
["foo"]=>
string(3) "bar"
}
array(2) {
["foo"]=>
string(3) "bar"
["hello"]=>
string(5) "world"
}
hello, world1
6。服务器日志
We get 21 bytes: hello=world&foo=bar
下载源码
通过命令行克隆项目:
git clone https://github.com/bullsoft/gofcgid.git