Re: PHP output stream

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxx 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.
>
>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux