Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I'm using the SharePoint 2010 server. As far as I know PHP does not support NTLM. If I cache the WSDL XML how can I connect to SP2010? Would OAuth work?

Has anyone successfully used PHP to connect to the SharePoint server?

share|improve this question

4 Answers 4

Here is a very nice post by Vadim Gremyachev about connecting from PHP to SharePoint Online, for those that may be looking for it: http://blog.vgrem.com/2014/05/31/sharepoint-online-client-php/

Works like a charm.

share|improve this answer
    
Well the blog post is great, but it is for SP 2013 Online, not SP 2010 ON premise as in this example –  Robert Lindgren Jul 1 at 9:37

There are 3rd party scripts to use with NTLM, plenty on google. Take a look at nusoap.

nuSoap with NTLM example

share|improve this answer

I have only seen user/password been used to connect to the services.

share|improve this answer

You have 2 options : the REST API and the old WebServices. Personnaly, I've never use PHP to connect to SharePoint, only Java, and it works like a charm.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.