>>282
<?php
header('Content-Type: application/xml');
ini_set('arg_separator.output', '&');
$url = 'http://jlp.yahooapis.jp/MAService/V1/parse';
$appid = isset($_POST['appid']) ? $_POST['appid'] : null;
$sentence = isset($_POST['sentence']) ? $_POST['sentence'] : null;
$filter = isset($_POST['filter']) ? $_POST['filter'] : null;
$data = http_build_query(
array(
'appid' => $appid,
'sentence' => $sentence,
'filter' => $filter
)
);
$xml = file_get_contents($url, false, stream_context_create(
array(
'http' => array(
'method' => 'POST',
'header' => "Content-Type: application/x-www-form-urlencoded;charset=UTF-8\r\nContent-Length: " . strlen($data) . "\r\n",
'content' => $data
)
)
));
echo $xml;

post先をこのスクリプトに変えてね