Skip to content

Commit

Permalink
Update example.php
Browse files Browse the repository at this point in the history
forgot to keep vars in... added now oops...
  • Loading branch information
Lewis Cowles committed Sep 22, 2013
1 parent 4f7c024 commit 07a77fd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions example.php
Expand Up @@ -2,15 +2,15 @@
include './EpiCurl.php';
$mc = EpiCurl::getInstance();

$mc->addURL('http://www.yahoo.com'); // call yahoo
$mc->addURL('http://www.google.com'); // call google
$mc->addURL('http://www.ebay.com'); // call ebay
$yahoo = $mc->addURL('http://www.yahoo.com'); // call yahoo
$google = $mc->addURL('http://www.google.com'); // call google
$ebay = $mc->addURL('http://www.ebay.com'); // call ebay

// fetch response from yahoo and google
echo "The response code from Yahoo! was {$yahoo->code}\n";
echo "The response code from Google was {$google->code}\n";

$mc->addURL('http://www.microsoft.com'); // call microsoft
$microsoft = $mc->addURL('http://www.microsoft.com'); // call microsoft

// fetch response from ebay and microsoft
echo "The response code from Ebay was {$ebay->code}\n";
Expand Down

0 comments on commit 07a77fd

Please sign in to comment.