• curl post pieprasījums

    curl_setopt($handle, CURLOPT_URL,"http://www.example.lv/kautkas.php");
    curl_setopt($handle, CURLOPT_POST, true);
    curl_setopt($handle, CURLOPT_POSTFIELDS, array("var1" => $var1 ));
    curl_exec($handle);


1111111