|
Posted by C. (http://symcbean.blogspot.com/) on 10/23/07 21:30
On 22 Oct, 16:46, Gandalf <goldn...@gmail.com> wrote:
> Hi every one,
> I have a function writen with c and I need to use her on my php
> script.
> I understood that their is away to do so, since php writen with c
> language, but i don't know how.
> does someone have a clue?
>
> thanks!
Never done it myself but the process seems to be well documented - you
could do worse than start here:
http://www.php.net/manual/en/internals2.php
Of course if its not going to be heavily used/republished it might be
simpler to just write your own wrapper in C to make a standalone
executable then comunicate between it and PHP using stdio
(proc_open()) or sockets.
HTH
C.
Navigation:
[Reply to this message]
|