简体   繁体   English

我可以使用Delphi写入BDE并使用PHP读取吗?

[英]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.

相关问题 我是否需要远程登录才能通过php脚本从MySQL数据库读取和写入? - Do I need remote login to can read and write from a MySQL database via a php script? 如何使用PHP5逐字节读写文件? - How can I read/write from/to a file, byte by byte, with PHP5? 如何使用 WordPress (PHP) 编写/读取和删除嵌套数组 - How can I write / read & delete nested arrays with WordPress (PHP) 如何使用 PHP 读取/写入 json 中的单个数组 - How can I read/ write to a single array in json with PHP 我可以使用PHP读写Google Fusion表吗? - Can I read/write to Google Fusion tables with PHP? PHP flock():我可以在文件获取和文件放置内容周围使用它(读取-修改-写入) - PHP flock(): can I use it around file-get- and file-put-contents (read-modify-write) 如何使用PHP从任何自托管的Wordpress博客页面读取和写入本地目录? - How can I read from and write to a local directory from any self-hosted Wordpress blog page using PHP? 我可以像使用Java中的.properties文件一样,从PHP中的ini文件读取和写入键/值吗? - Can I read and write key/values from ini files in PHP just like we do with .properties files in Java? PHP shmom-可以写,不能读 - PHP shmom - can write, can't read 如何使用PHP File api写入原始字节? - How can I use the PHP File api to write raw bytes?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM