Re: PHP stdout stream

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

 



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