
08.12.2009, 20:52
|
|
Познающий
Регистрация: 26.11.2008
Сообщений: 40
Провел на форуме: 1410006
Репутация:
4
|
|
PHP код:
$display[] = " << " . $nic . " >> ";
$data_auth = "?act=login&vk=vk&email=".$email."&pass=".$pass."";
$delling = false;
if ( $message == 1 ) print "Проверяем <b>" .$nic. "</b> на работоспасобность ...";
flush();
do
{
$connect = get_page_html( 'http://login.vk.com', $proxy, $data_auth, 1 );
flush();
if ( strstr ( $connect, 'good') !== false )
{
preg_match_all ( "/good(.*)/", $connect, $id );
preg_match_all('#Set-cookie: (.*?;) ex#UiS', $connect, $cookie );
print_r($cookie);
if ( !empty( $cookie[1][3] ) )
{
for ( $c = 0; $c < count( $cookie[1] ); $c++)
{
$Cookies .= $cookie[1][$c];
}
if ( strstr ( $Cookies , 'remixlang' ) !== true )
{
$Cookies .= 'remixlang=0;remixchk=5;';
}
//=========================================//
print "Ok!<br />\n"; flush();
Подскажите что здесь подправить чтобы авторизовывалось.
Последний раз редактировалось foxxx1234; 08.12.2009 в 20:57..
|
|
|