$url = "http://www.ntt-west.co.jp/ipnet/ip/bflets/entry/bflets.php3";
$qs = array(
'area_code=0120'
, 'city_code=012'
, 'r_code=235'
, 'type=024'
, 'Submit=' . urlencode(' 送 信 ')
);
var_dump(join('&', $qs), $qs);
$ch = curl_init($url);
curl_setopt($ch, CURLOPT_VERBOSE, 1);
curl_setopt($ch, CURLOPT_FAILONERROR, 1 );
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_TIMEOUT, 30);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, join('&', $qs));
ob_start();
$html = curl_exec($ch);
curl_close ($ch);
ob_end_clean();
echo $html;