dragon8899 2015-12-21 17:16
浏览 37
已采纳

如何使用php将quickbooks桌面数据导入到在线mysql服务器

Is it possible to import Quickbooks Desktop data directly to a live online mysql database using PHP ? For ex. if I connect using webconnect Quickbooks desktop to a local host server then this is connect string:-

    $dsn = 'mysql://root:@localhost/quickbooks'

So my question is instead of using localhost can I use Live server's credentials in order to import data ?

Or else do I first need to import desktop version's data into Quickbooks online version in order to achieve this ? Please help. Thanks in Advance!

  • 写回答

2条回答 默认 最新

  • doupeng2253 2015-12-22 00:40
    关注

    Is it possible to import Quickbooks Desktop data directly to a live online mysql database using PHP ?

    Directly? No. QuickBooks isn't based on an SQL database of any sort -- it's a proprietary data format, and you can only communicate with it via XML.

    The closest you can get is either:

    • Something like QODBC, which lets you query QuickBooks via a SQL-to-XML translation engine.

    OR

    • Something that does XML queries against QuickBooks to try to mirror data from QuickBooks into an SQL database (e.g. something like https://github.com/consolibyte/quickbooks-php which is what you're example $dsn string indicates you're using).

    So my question is instead of using localhost can I use Live server's credentials in order to import data ?

    Um, what? Your questions kind of don't make a whole lot of sense, but...

    You can use any database you want. It doesn't have to live on localhost. Just change the $dsn to where ever your database lives.

    Or else do I first need to import desktop version's data into Quickbooks online version in order to achieve this ?

    QuickBooks Online is a completely separate product, that has absolutely nothing at all to do with QuickBooks for Windows. It's a completely separate product, with a separate API, a separate back-end data structure, developed by a separate team of developers, on a separate platform, in a separate programming language, etc. The two share absolutely nothing in common outside of being developed by the same company. And neither will give you direct SQL access to the data.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

悬赏问题

  • ¥15 matlab在安装时报错 无法找到入口 无法定位程序输入点
  • ¥15 收益高的广告联盟有哪些
  • ¥15 Android Studio webview 的使用问题, 播放器横屏全屏
  • ¥15 删掉jdk后重新下载,Java web所需要的eclipse无法使用
  • ¥15 uniapp正式环境中通过webapi将本地数据推送到设备出现的跨域问题
  • ¥15 xui建立节点,显示错误
  • ¥15 关于#单片机#的问题:开始、复位、十进制的功能可以实现,但是切换八进制的功能无法实现(按下按键也没有效果),把初始状态调成八进制,也是八进制可以实现但是切换到十进制不行(相关搜索:汇编语言|计数器)
  • ¥15 VINS-Mono或Fusion中feature_manager中estimated_depth是特征的深度还是逆深度?
  • ¥15 谷歌浏览器如何备份抖音网页数据
  • ¥15 分别有什么商家下面需要非常多的骑手为它工作?