galorecomputers Posted February 6, 2012 Share Posted February 6, 2012 Hello Everyone, I am new to the forum so please be nice! I have used PHP for a while now and use it with MySQL successfully and have developed some good scripts for my own use. My latest challenge is well.... turning out to be just that!! I have an iPhone 4 which now syncs with iCloud - icloud.com has a web based interface allowing you to view all your contacts online.... I want to be able to connect to the iCloud server using a PHP script - my aim is for this script to populate my own MySQL database with contacts after reading all my current contacts from the iCloud Server. I have googled and havn't really got anywhere - I know that the iCloud servers use the cardDAV protocol for storing contact information, and I have managed to work out my server ID etc and I know I use the 6th server (https://p06-contacts.icloud.com/). Anyone have any ideas here? Thanks in advance Dan Link to comment https://forums.phpfreaks.com/topic/256572-carddav-with-icloud/ Share on other sites More sharing options...
darkfreaks Posted February 6, 2012 Share Posted February 6, 2012 have you tried the github Cardav class https://github.com/graviox/CardDAV-PHP Link to comment https://forums.phpfreaks.com/topic/256572-carddav-with-icloud/#findComment-1315275 Share on other sites More sharing options...
galorecomputers Posted February 7, 2012 Author Share Posted February 7, 2012 Thanks for reply - That's what I'm trying to use but it doesn't seem to connect Link to comment https://forums.phpfreaks.com/topic/256572-carddav-with-icloud/#findComment-1315281 Share on other sites More sharing options...
darkfreaks Posted February 7, 2012 Share Posted February 7, 2012 http://trac.expressolivre.org/browser/contrib/davical/inc/caldav-REPORT-cardquery.php Link to comment https://forums.phpfreaks.com/topic/256572-carddav-with-icloud/#findComment-1315316 Share on other sites More sharing options...
galorecomputers Posted February 7, 2012 Author Share Posted February 7, 2012 I see, another way of doing it - I'll have to have a shot - thanks Do you know, or does anyone else know if this is definitely possible with iCloud? Cheers - Dan Link to comment https://forums.phpfreaks.com/topic/256572-carddav-with-icloud/#findComment-1315320 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.