Re: documentation of php5ts.dll and .NET wrapper
| From: | Johannes Schlüter | Date: | Sun, 17 Jun 2007 16:33:26 +0000 |
| Subject: | Re: documentation of php5ts.dll and .NET wrapper | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-30210@lists.php.net to get a copy of this message | ||
Hi muquaddim,
before calling these API functions you have to initialise some data
structures. The usual way to embed PHP into another environment is to
provide an SAPI module which wraps PHP's APIs to something you can use
from another system in a nice way.
See php-src/sapi/embed/ for a quite simple SAPI module, and Sara's book
(ISBN-10: 067232704X, ISBN-13: 978-0672327049) as a reference.
johannes
On Sun, 2007-06-17 at 21:56 +0600, muquaddim wrote:
> Hi,
> I have use dumpbin to get the method names of php5ts.dll file. I get many
> names.
> 2 of these methods are,
> "php_execute_script"
> "php_execute_simple_script"
>
> I guess these are the methods that are responsible for executing php source
> (.php) files.
> now I need to know, what are the parameter of these methods. How can I get
> the documenttation on parameters.
> If I get this I could have make a .NET wrapper.
> Thanks
>