Is there any way to send PHP POST request to remote URL and get result as html source.
I need get my exam results from https://www.eps.go.kr/eo/VisaFndRM.eo?langType=sl here using PHP.
i tried this
<?php $url = 'https://www.eps.go.kr/eo/VisaFndR.eo';
    $xml = array('srchFlag' => 'Y', 'langType' => 'sl', 'natNm' => 'sl', 'sKorTestNo' => '0072016P50000001', 'sLginId' => '', 'sLginPw' => '');
    $ch = curl_init($url);
    curl_setopt($ch, CURLOPT_POST, 1);
    curl_setopt($ch, CURLOPT_POSTFIELDS, $xml);
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
    $response = curl_exec($ch);
    echo $response;
    curl_close($ch);
 ?>
but it returns blank page.any idea how to do it
 
    