Thread: Yahoo! Grabber
View Single Post
Old 01-27-2008, 12:16 AM   #2 (permalink)
WinSrev
The Acquainted
Inquisitive 
 
WinSrev's Avatar
 
Join Date: Sep 2007
Posts: 133
Thanks: 6
WinSrev is on a distinguished road
Default

Works great!
For people that only want the e-mail addresses and not the other stuff, i wrote this little function:

PHP Code:
                // get the address book, the login succeeded
    
$address_book_csv $yahoo->get_address_book();

    echo 
'<pre>';
    
//print_r( $address_book_csv );
    
$i 0;
    while(
$i <= (count($address_book_csv) - 1))
    {
        echo(
$address_book_csv[$i]['email'] . '<br>');
        
$i++;
    }
    echo 
'</pre>'
Send a message via ICQ to WinSrev
WinSrev is offline  
Reply With Quote