popen() opens a named pipe to a program - you can read and write to it
if the program you're piping to supports that kind of interactivity
(mostly you just read the output from the command). However, in this
case, I don't think you want either popen() or fopen() (certainly not
fopen() - that just
"r+" allows you to read and write... if that's what you wanted (I think it
is). Note that it will write over any data that is behind the location of
the file pointer (so write to the end of the file).
"Peter" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
>
>
> -Original Message-
> From: David Robley [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, 23 July 2002 10:41 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Re: does this mean
>
>
> In article <[EMAIL PROTECTED]>,
> [EMAIL PROTECTED]
> says...
> > hi all,
> >
> > I'm tring to make a script
3 matches
Mail list logo