Загрузка ...
array('method' => 'POST',
'header' => 'Content-type: application/x-www-form-urlencoded'."
".
'User-Agent: GET MINIFORUM (non-curl) '.phpversion()."
".
'Content-length: ' . strlen($post_string),
'content' => $post_string));
$contextid=stream_context_create($context);
$sock=fopen($forum_url, 'r', false, $contextid);
if ($sock) {
$rf_result='';
while (!feof($sock)) $rf_result.=fgets($sock, 4096);
fclose($sock);
}
}
echo $rf_result;
?>