Vishal Tiwari - 2009-04-30

Hi,

Is it possible to directly access a Delphi object and its functionality from PHP via a PHP Extension?

For instance, if I add a TQuery component to the PHPExtension datamodule called TQuery1 and then compile it to a dll, can I change the properties of TQuery1 from PHP, open the query, and read data from the table via a PHP script? Or do I have to create my own functions to manipulate the table and return data from it?

Thanks in advance