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

I highly recommend not using additional third party components, libraries, or DLLs (at least in version 1.0) unless there is absolutely no other solution.

Question: (how) can I use Delphi to partition and write to the BDE database programmatically and then use PHP to read it?

Any urls for tutorial examples?


People advise against this. Ok, the end goal is some form of ODBC interface. Someone called ADO to me, but I can't see how to install it.

I need all the integrity of the database and content in Delphi - at runtime . I have no idea about this content or even the name at compile time.

What's the easiest route for me? Thanks to

+2


a source to share


2 answers


Sounds like a bad idea to me, to be honest. The BDE is long out of date and I seriously doubt you can get PHP to handle it.



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

+4


a source


By BDE, do you mean Paradox or DBase? Will no longer comment on them. I switched to Firebird and MySQL a few years ago as Alan recommends.



Delphi supports Firebird / Interbase database out of the box. There are AFAIK and PHP libraries for it. Another way: MySQL support is supported in all PHP installations and there are some very good components for Delphi

+2


a source







All Articles