I am not familiar with Sharepoint. I would like to query or read Sharepoint database using PHP.
Is there a way I can do that?
Thank you in advanc. Any help is greatly appreciated.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You should consider using the Camelot PHP Tools for SharePoint, it’s a well documented php framework for the Camelot XML format specially constructed for SharePoint lists.
Documentation and download
You will also need the Camelot SharePoint Integration Toolkit, http://camelottoolkit.codeplex.com/ and the Camelot .NET Connector (http://www.bendsoft.com/net-sharepoint-connector/).
Install the Connector on a box that can reach the SharePoint server, this may be the same server as the SharePoint server, then install the Integration Toolkit on the same server as the Connector. Set up the integration service that is included in the integration toolkit (follow the instructions) and then you are done. There are a few instruction videos on the websites as well.
The upsides of using this is that you will be able to talk to SharePoint lists and libraries through the API by using common SQL queries, the underlying mssql database is never used.
Selecting data from SharePoint with SQL
Selecting data from SharePoint by list and view name
Insert data in SharePoint with SQL and SharePointNonQuery
There are also stored procedures to help you with some operations, like advanced handling of document libraries
Download a file
Upload a file