Source for file fetchPage.php
Documentation is available at fetchPage.php
// Fetches the URL passed to the constructor and echos it out.
require_once('Net/Curl.php');
$curl = & new Net_Curl ('http://www.example.com');
$result = $curl->execute ();
if (!PEAR ::isError ($result)) {
echo $result->getMessage (). "\n";
Documentation generated on Mon, 11 Mar 2019 14:16:13 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|