원격 파일을 호출할 때 쓴다.
include_once('Eolin.PHP.Core.php');
include_once('Eolin.PHP.HTTPRequest.php');
$httpr = new HttpRequest('POST','http://www.google.com');
$r = $httpr->send();
var_dump($r);
if($r){
echo $httpr->responseText;
}
원격 파일을 호출할 때 쓴다.
include_once('Eolin.PHP.Core.php');
include_once('Eolin.PHP.HTTPRequest.php');
$httpr = new HttpRequest('POST','http://www.google.com');
$r = $httpr->send();
var_dump($r);
if($r){
echo $httpr->responseText;
}
댓글 달기