[英]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. 我强烈建议不要使用其他的第三方组件,库或DLL(至少在v1.0中),除非绝对没有其他解决方案。
Question: (how) can I use Delphi to progrtiamatically crate a BDE database and write to it, then use PHP to read from it? 问题:(如何)我可以使用Delphi编程创建一个BDE数据库并将其写入,然后使用PHP读取它?
Any URLs for examples of tutorial? 有教程示例的网址吗?
People are advising against it. 人们对此表示反对。 Ok, the ultimate goal is some form of ODBC interface anyway. 好的,最终目标还是要使用某种形式的ODBC接口。 Someone mentioned ADO to me, but I don't see how to install it. 有人向我提到了ADO,但是我看不到如何安装它。
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. 我需要在Delphi中以编程方式创建整个数据库和内容- 在运行时 -我不知道它的内容,甚至在编译时也不知道其名称。
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. BDE早已被弃用,我严重怀疑您是否可以使PHP与之兼容。
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. 我建议使用标准数据库,例如Firebird或MySQL,而现有的Delphi和PHP库均已存在,或者如果数据集不是太大,则使用XML。
By BDE you mean Paradox or DBase? BDE是指悖论还是DBase? Wouldn't recomment using those anymore. 不再建议使用那些。 I moved into Firebird and MySQL years ago just like Alan recommends. 就像艾伦(Alan)推荐的那样,我几年前搬到了Firebird和MySQL。
Delphi supports Firebird/Interbase database out of the box AFAIK and PHP libraries exist for it. Delphi开箱即用地支持Firebird / Interbase数据库AFAIK和适用于它的PHP库。 Other way around : MySQL support is in all PHP installations and there are some very good components for Delphi 其他方法:所有PHP安装中都支持MySQL,并且Delphi有一些非常好的组件
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.