$data = @file_get_contents(
'http://site.com',
false,
stream_context_create(
array('http' => array(
'method' => 'POST',
),
'content' => http_build_query(array(
'no' => 'veri',
'security' => 'captcha',
'veri' => 'x',
)),
))
);
echo '<pre>';
echo json_encode(json_decode($data),JSON_PRETTY_PRINT|J SON_UNESCAPED_SLASHES|JSON_UNESCAPED_UNICODE);
echo '</pre>';
Yukarda yazdığım metodu deneyebilirsin, nette bir çok örnek mevcut.