zdravím,
$menohrac = "menohrac=Velda";
curl_setopt($curl, CURLOPT_POST, 1 );
curl_setopt($curl, CURLOPT_POSTFIELDS, $menohrac );
buď se to neodešle vůbec, nebo jen špatně definuju tu proměnnou, zkoušel jsem též: $menohrac = array("menohrac" => "Velda"); taky bez úspěchu
Edit: přidám i header:
$header[0] = "Accept: text/xml,application/xml,application/xhtml+xml,";
$header[0] .= "text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5";
$header[] = "Content-Type: application/x-www-form-urlencoded";
$header[] = "Cache-Control: max-age=0";
$header[] = "Connection: keep-alive";
$header[] = "Keep-Alive: 300";
$header[] = "Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7";
$header[] = "Accept-Language: en-us,en;q=0.5";
$header[] = "Pragma: ";