You will need to use QB Web Connector to get data from your desktop company file to your web server.
The Web Connector is explained in more details in the QBWC Programmers Guide included in the QBXML SDK. https://developer.intuit.com/docs/0250_qb/0020_get_set_up/sdk_downloads
There is a Web Connector server example included in the QBXML SDK.
You might also check out Consolibyte's website http://wiki.consolibyte.com/wiki/doku.php/quickbooks_web_connector http://consolibyte.com/quickbooks-open-source/