예제 #1
0
 function load_page($URL, $ispost = false, $postparams = "")
 {
     //echo "LOAAAAAAAAAAAAADING $URL<br /><br />";
     $return = false;
     $snoopy = new HTTPClient();
     if ($snoopy->loadPage($URL)) {
         $return = $snoopy->getData();
     }
     unset($snoopy);
     return $return;
 }