und zwar versuche ich mich auf kickload.com via curl einzuloggen leider schlugen meine versuche bisher fehl
via livehttp headers hab ich ausgelesen welchen post link ich übertragen muss
aber leider scheint es damit nicht getan zu sein
PHP-Code:
POST /login/ email=affe%40bla.de&password=1234567&login=1&x=19&y=5
und hier rest den ich auslesen haben
Code:
POST /login/ HTTP/1.1
Host: kickload.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; de; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: de-de,de;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
Referer: http://kickload.com/login/
Cookie: lang=de; geo=CH; PHPSESSID=bad372ad02a8759b9f1149a895e24edf
Content-Type: application/x-www-form-urlencoded
Content-Length: 53
email=affe%40bla.de&password=1234567&login=1&x=19&y=5
PHP-Code:
curl_setopt($ch, CURLOPT_URL, 'http://kickload.com/login/');
curl_setopt($ch, CURLOPT_POSTFIELDS, 'email=affe%40bla.de&password=1234567&login=1&x=19&y=5');
curl_setopt($ch, CURLOPT_USERAGENT, $user_agent);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_COOKIE, $cookies);
curl_setopt($ch, CURLOPT_COOKIEJAR, $cookies);
curl_setopt($ch, CURLOPT_COOKIEFILE, $cookies);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
return curl_exec($ch);
ich hoffe hier kann mir jemand weiterhelfen denn das treibt mich noch in den wahnsinnnn.
ps die logindaten die hier angegeben sind stimmen nicht