PHP e-commerce site talking to internal database for stock / ordering?

Posted by CitrusTree on Stack Overflow See other posts from Stack Overflow or by CitrusTree
Published on 2010-06-10T08:35:39Z Indexed on 2010/06/10 8:43 UTC
Read the original article Hit count: 260

Filed under:
|
|
|

Hi. I'm working on an e-commerce site (either bespoke with PHP, or using Drupal/Ubercart), and I'd like to investigate the site interacting with an internal (filemaker) database we use to manage stock and orders. Currently we manually transfer orders from the web site to our own database, and the site does not check or record changes in stock.

My plan to allow the 2 to interact is as follows:

  1. Make the internal database available externaly on a machine with a fixed IP
  2. Allow external access from the site only
  3. Connect to the internal database using ODBC (or similar)
  4. Use simple queries to check stock / record stock changes / record order details

Am I missing something here as this sounds quite straight forward? Is there another solution I should be taking a look at?

Thanks in advance for any help or comments.

© Stack Overflow or respective owner

Related posts about php

Related posts about database