
20.04.2010, 22:56
|
|
Banned
Регистрация: 20.04.2010
Сообщений: 33
С нами:
8453738
Репутация:
26
|
|
Сообщение от shellz[21h]
PHP код:
<?php
$username = 'login@googlemail.com';
$password = '';
$ch = curl_init('https://mail.google.com/mail/feed/atom');
curl_setopt($ch, CURLOPT_RETURNTRANSER, true);
curl_setopt($ch, CURLOPT_USERPWD, "$username:$password");
print curl_exec($ch);
?>
А как понять правильно авторизировался юзер или нет?
|
|
|