php - 通过 PHP 连接到 Sharepoint 数据库

标签 php database sharepoint connection

我不熟悉 Sharepoint。我想使用 PHP 查询或读取 Sharepoint 数据库。

有什么办法可以做到吗?

先谢谢你。非常感谢任何帮助。

最佳答案

我强烈建议改用 SharePoint WebServices...除非有正当理由(即性能),否则我不会接触数据库。 Quote from this answer:

  1. This is completely unsupported by the EULA you agreed to when you installed SharePoint.
  2. Your queries are not guaranteed to work after applying any patches or service packs to SharePoint since Microsoft could change the database schema anytime.
  3. Directly querying the database can place extra load on a server and hence performance issues.
  4. Direct SELECT statements against the database take shared read locks at the default transaction level so your custom queries might cause deadlocks and hence stability issues.
  5. Your custom queries might lead to incorrect data being retrieved.

如果您想了解更多关于为什么不应该查询数据库的信息,here真是一篇很棒的文章

Query A SharePoint WebService with PHP

关于php - 通过 PHP 连接到 Sharepoint 数据库,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7782645/

相关文章:

mysql - 工作台对于从脚本文件创建本地数据库是必需的

c# - 无法添加对 SharePoint 列表服务的引用

PHP:如何在重新排序数组时对 1 个数组中的 3 个数组进行排序

mysql - SQL 查询根据键值列表有条件地检索记录

php - MySql 将 "mm:ss"存储为 "hh:mm"

mysql - 使用 mysql 处理非常大的数据

CSS 条件注册不起作用

javascript - SharePoint 客户端 JavaScript 文档

php - 如何使用 grocery set_relation 函数在不同列中显示来自两个不同表的内容

php - 使用 Xpath 进行部分匹配