
03.04.2009, 19:41
|
|
Постоянный
Регистрация: 02.03.2008
Сообщений: 893
С нами:
9574565
Репутация:
712
|
|
Авторизация вконтакте:
PHP код:
$cookie="remixlang=0;
remixchk=5;
remixmid=1;
remixemail=admin%40vkontakte.ru;
remixpass=fdgfgd56456fghghf67ffhg;
remixsid=297f8b6f81dc6fghf678gbg76754a96d0dcef19830a4622cc4d68;";
$ref = 'http://vkontakte.ru/';
$ch=curl_init ("http://vkontakte.ru/login.php");
$ua = 'User-Agent: Mozilla/4.0 (compatible; MSIE 5.01; Widows NT)';
curl_setopt($ch, CURLOPT_USERAGENT, $ua);
curl_setopt ($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_USERAGENT, $ua);
curl_setopt($ch, CURLOPT_REFERER, $ref);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $PostData);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_COOKIE, $cookie);
curl_setopt($ch,CURLOPT_POSTFIELDS,$zapros);
$page = curl_exec($ch);
echo $page;
Чего ему надо ?((
Не авторизирует(
|
|
|