Im not sure the title of this question is what it actually asks for, i am using a PHP Library https://github.com/wvrzel/simpleCalDAV for connecting to different Calendar providers, Like Owncloud, iCloud, Yahoo, etc, iam able to connect, list calendars and get the events from these three providers, now the problem is with yahoo only, when i run this file on my server yahoo does not return the calendars list, but it works on localhost/
yahoo caldav ur is url : https://caldav.calendar.yahoo.com/dav/username/Calendar/calendar_name/
i updated php and cURL to same versions on both , that didnt make any difference but i found some configuration changes for cURL on local and server as below
Server
- GSS-Negotiate No
- SPNEGO Yes
- TLS-SRP No
Local
- GSS-Negotiate YES
- SPNEGO No
- TLS-SRP YES
all except these value are same, i cant figure out where it goes wrong
EDIT
$client->connect('https://caldav.calendar.yahoo.com/dav/userXXX/Calendar/', 'xxx@yahoo.com', 'paswordXXX');
$arrayOfCalendars = $client->findCalendars(); // Returns an array of all accessible calendars on the server.
foreach( $arrayOfCalendars as $cal) {
echo $cal->getCalendarID();
}