Michael B Allen wrote:
Hi Ed,
I very much doubt exec-ing and then backticking (which is forks and
then execs again) would achieve the desired result.
One thing that might, would be to write a long-lived daemon that opens
the file(s) being appended to and waits for data on a named pipe. PHP
callers can just open the pipe, write data to it, close and move on.
The deamon would read the data and write it to the desired descriptor.
Meanwhile the calling PHP process is probably off doing other things
by then.
Mike
Sorry I wasn't more clear in my OP, That was a list of the various
writing mechanisms I am comparing... not the procedural order of the code.
--
<img src="http://covenantedesign.com/logo.jpg" border ="0">
995 Maple Hill Road
Castleton, New York 12033
518-331-5061
cons...@covenantedesign.com
_______________________________________________
New York PHP Users Group Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk
http://www.nyphp.org/Show-Participation