开发者

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

开发者 https://www.devze.com 2022-12-29 22:50 出处:网络
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.

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.开发者_C百科 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


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.


By BDE you mean Paradox or DBase? Wouldn't recomment using those anymore. I moved into Firebird and MySQL years ago just like Alan recommends.

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

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号