Import Contacts from Yahoo, Gmail, Hotmail, MSN and AOL using PHP and cURL http://email.about.com/od/gmailtips/qt/et083104.htm
In PHP??? u sure?? I didn't find anything related to PHP there. sourceforge.net/projects/contactgrabber Try this