Re: RE: PHP Command line question
| From: | (Richard Lynch) | Date: | Thu, 13 Jul 2000 02:08:49 +0000 |
| Subject: | Re: RE: PHP Command line question | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-6361@lists.php.net to get a copy of this message | ||
In article <000b01bfe9d8$d570a400$190d4818@AMD333.pneumasoft.com>,
bhorton@pneumasoft.com ("Bob Horton") wrote:
> > I have compiled PHP standalone. I want to redirect the output of another
> > program
> > to PHP. My PHP script must then examine the output and insert the
> > information in a
> > database.
> >
> > If i redirect the output of a program using |, how can i get my PHP script
> > to get the
> > information?
fopen('php://stdin', 'r');
(I think that's the syntax for stdin... Check the docs.)
--
Richard Lynch | If this was worth $$$ to you, buy a CD
US Customer Support Director | from one of the artists listed here:
Zend Technologies USA | http://www.L-I-E.com/artists.htm
http://www.zend.com | (this has nothing to do with Zend,
duh!)