Search code examples
phpdelphibde

Can I use Delphi to write to BDE and PHP to read from it?


I strongly prefer not to use additional 3rd party components, libraries or DLLs (at least in v1.0), unless there is absolutely no other solution.

Question: (how) can I use Delphi to progrtiamatically crate a BDE database and write to it, then use PHP to read from it?

Any URLs for examples of tutorial?


People are advising against it. Ok, the ultimate goal is some form of ODBC interface anyway. Someone mentioned ADO to me, but I don't see how to install it.

I need to crate the entire database and contents programatically in Delphi - at run time - I have no idea of it's contents or even name at compile time.

What's the simplest route for me? Thanks


Solution

  • Sounds like a bad idea to me, to be honest. BDE is long-since deprecated and I seriously doubt if you could get PHP to jive with it.

    I would recommend using a standard database such as Firebird or MySQL for which established Delphi and PHP libraries exist, or XML if the dataset is not too large.