openlss/func-net

0.0.7 2013-03-27 03:33 UTC

This package is not auto-updated.

Last update: 2024-09-14 14:55:33 UTC


README

网络助手函数(IP 格式化、转换等)

使用方法

//fetch a URL with POST vars
$content = net_curl_post("http://some.site.net/action.cgi",array('some_var'=>'value'));

参考

(string result) net_curl_post($url,$vars=array(),&$ch=null)

通过 curl 设置 POST 请求,返回响应内容。可选地接受一个指针,通过该指针返回 curl 处理句柄。