openlss / func-net
Networking helpers
0.0.7
2013-03-27 03:33 UTC
Requires
- php: >=5.3.2
This package is not auto-updated.
Last update: 2024-11-09 15:36:46 UTC
README
Networking helper functions (IP formatting, conversions, etc)
Usage
//fetch a URL with POST vars $content = net_curl_post("http://some.site.net/action.cgi",array('some_var'=>'value'));
Reference
(string result) net_curl_post($url,$vars=array(),&$ch=null)
Sets up a POST request via curl, returns the response content. Optionally accepts a pointer via which to return the curl handle.