Http API Reference

 Access via http or https protocol.

access($urlStr, $method, $postParams, $encode, $useAgent, $referer)

 Access with http or https and return the result's body string and header.

fetch($urlStr, $method, $postParams, $outFile)

Fetch data from url, $urlStr. The $urlStr can starts with 'http' or 'https' Post param should have http params.$postParams.param = "val";

urlDecode($decodeStr, $encode)

 Execute url decode.


Go to Top