|
Posted by Joshua Ruppert on 08/15/06 02:51
David T. Ashley wrote:
> Hi,
>
> On a Linux platform, I have the need to call a compiled 'C' program from a
> PHP script (to do some special authentication), and to keep the information
> passed from the PHP script to the compiled 'C' program secret, i.e. the
> information should not be passed on the command-line.
>
> The PHP pipe manipulation functions (such as popen) were suggested to me.
>
> Where can I find out more about pipes, specifically:
>
> a)How to use the C library calls to manipulate pipes?
>
> b)The Linux API (below the C library)?
>
> I need enough information to write the compiled 'C' program, to exchange
> information with the PHP scripts via pipes, and to handle exception
> conditions.
>
> I'm just not sure where to look ... I'm not even sure if the C library is
> documented ... and which documentation is appropriate.
>
> Thanks.
I don't know Linux resources but have you tried PHP.net?
http://www.php.net/manual/en/function.popen.php
[Back to original message]
|