Re: fdup & Pipes? (New Thread)

From: Date: Fri, 31 May 2002 02:47:09 +0000
Subject: Re: fdup & Pipes? (New Thread)
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-100039@lists.php.net to get a copy of this message
On Thu, 30 May 2002, Jonathan Rosenberg wrote: > It's been a long time since I've programmed on Unix, but there > was a common technique used in C programs for invoking a program > & allowing the invoker to read & write via standard input/output. > I believe it used a combination of pipes & the fdup function. > > Is it possible to emulate this behavior in PHP? You may be able to get a bi-directional pipe out of popen. Depends on your particular OS. miguel

« previous php.general (#100039) next »