Merhaba kardeş, capcha yok kardeş göremedim ben. Formu aşağıdaki kodla post ettim. Hoşcakal.
<?php
$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[] = "Cache-Control: max-age=0";
$header[] = "Connection: keep-alive";
$header[] = 'X-Requested-With: XMLHttpRequest';
$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: ";
$header[] = "X-Generate-Time:";
$header[] = "X-Requested-With: XMLHttpRequest";
$debug = fopen('d.txt','wr');
$debug2 = fopen('b.txt','wr');
$curl = curl_init();
curl_setopt($curl, CURLOPT_URL,'https://www.kassam.az/clients/loginProcess');
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER,false);
curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, 0);
curl_setopt($curl, CURLOPT_HEADER, true);
curl_setopt($curl, CURLOPT_HTTPHEADER, $header);
curl_setopt($curl, CURLOPT_FOLLOWLOCATION,1);
curl_setopt($curl, CURLOPT_RETURNTRANSFER,0);
curl_setopt($curl, CURLOPT_FRESH_CONNECT,true);
curl_setopt($curl, CURLOPT_COOKIESESSION, true);
curl_setopt($curl, CURLOPT_COOKIEJAR,dirname(__FILE__).'/kuki.txt');
curl_setopt($curl, CURLOPT_COOKIEFILE,dirname(__FILE__).'/kuki.txt');
curl_setopt($curl, CURLOPT_USERAGENT, 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.13) Gecko/20080311 Firefox/2.0.0.13');
curl_setopt($curl, CURLOPT_REFERER, 'Referer: http://www.google.com');
curl_setopt($curl, CURLOPT_WRITEHEADER,$debug);
curl_setopt($curl, CURLOPT_STDERR, $debug2);
curl_setopt($curl, CURLOPT_VERBOSE,true);
curl_setopt($curl, CURLOPT_POST,true);
curl_setopt($curl, CURLOPT_POSTFIELDS,'j_username=%2B994%2855%29-959-3271&j_password=Kenan545');
$veri = curl_exec($curl);
?>