Reply to Re: Where to Find Pipe Information?

Your name:

Reply:


Posted by Jerry Stuckle on 08/15/06 03:16

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 guess I don't understand the problem with passing it in the command
line. If it's a process-to-process communication, it won't be visible
anyway.

As for using pipes - if you've never used them before, you're going to
need to do a fair amount of reading. The api's aren't complicated, but
handling errors without hanging can sometimes be tricky.


--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация