Re: How to get a string from C library into PHP via SWIG?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jan 5, 2010 at 3:42 PM, Eric Fowler <eric.fowler@xxxxxxxxx> wrote:

> Hm, that could work, but it does produce overhead.
>

you should consider your overall communication paradigm.  im very loosely
familiar w/ swig, basically ive heard of it ...

anyways, you have a few options for communication,

. shell (call php from C or the other way around)
. php extension, this may not make sense depending on what your C is doing
and is by far the most complex
. network protocol, socket, http or other..

can you tell us a little bit more about what youre trying to accomplish and
specifically how C and php are communicating in general in your application?

-nathan

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux