<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Исходный код </td></tr><tr><td id="CODE">
<?php
$url = "http://mydomain.com/index.php";
$postfields = "param1=1&param2=2";
$hCurl = curl_init();
curl_setopt($hCurl , CURLOPT_URL , $url );
curl_setopt($hCurl , CURLOPT_RETURNTRANSFER , 1 );
curl_setopt($hCurl , CURLOPT_POST , 1 );
curl_setopt($hCurl , CURLOPT_POSTFIELDS , $postfields );
$buffer = curl_exec($hCurl );
?>
[/QUOTE]
__________________
Хостинг. Сделано в России.
|