![Very Happy :-D](./images/smilies/icon_biggrin.gif)
kod snippetu:
Kód: Vybrať všetko
$obsah_var = $_GET["var"]; /* promenna, kterou budeme posilat */
$url = 'http://neco.tld'; /* absolutni cesta k souboru, ktery chceme zobrazit */
$curl_handle = curl_init();
curl_setopt($curl_handle, CURLOPT_URL, $url);
curl_setopt($curl_handle, CURLOPT_POST, 1);
curl_setopt($curl_handle, CURLOPT_POSTFIELDS, "var=$obsah_var");
curl_setopt($curl_handle, CURLOPT_RETURNTRANSFER, 1);
$content = curl_exec($curl_handle);
curl_close($curl_handle);
return $content;
kdyby ti nebylo neco jasnyho, tak se ozvi...