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
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:
- Make the internal database available externaly on a machine with a fixed IP
- Allow external access from the site only
- Connect to the internal database using ODBC (or similar)
- 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