openlss/func-net

Networking helpers

0.0.7 2013-03-27 03:33 UTC

This package is not auto-updated.

Last update: 2024-10-26 15:30:44 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.