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 乌班图ip地址配置及远程SSH
  • ¥15 怎么让点阵屏显示静态爱心,用keiluVision5写出让点阵屏显示静态爱心的代码,越快越好
  • ¥15 PSPICE制作一个加法器
  • ¥15 javaweb项目无法正常跳转
  • ¥15 VMBox虚拟机无法访问
  • ¥15 skd显示找不到头文件
  • ¥15 机器视觉中图片中长度与真实长度的关系
  • ¥15 fastreport table 怎么只让每页的最下面和最顶部有横线
  • ¥15 java 的protected权限 ,问题在注释里
  • ¥15 这个是哪里有问题啊?