Re: PHP output stream

From: Date: Mon, 15 May 2006 13:55:48 +0000
Subject: Re: PHP output stream
Groups: php.general 
Request: Send a blank email to php-general+get-236197@lists.php.net to get a copy of this message
Thanks for your answer. I already have thought about your solution. The problem is I have to use the Perl module for PHP. An example : $perl = new Perl(); $perl->require('mct.pl'); $perl->MCT_polling(); where MCT_polling() is a function of my script mct.pl. I would find very strange the fact it's impossible to manipulate PHP stdout stream. mickb@free.fr a �crit : > Hello, > > I've a quite simple question : one of my PHP script executes a Perl script which > outputs a lot of text. My wish is to redirect PHP stdout stream to NULL, > executing the perl script, and after this make the stdout stream back to > normal. I've not found a solution in online documentation. Anyone could provide > help ? > > hi, if your php and perl runs on unix : system ("perl perl_prg.pl > /dev/null"); N F > thanks. > >

« previous php.general (#236197) next »