Re: PHP stdout stream
| From: | nicolas figaro | Date: | Mon, 15 May 2006 12:53:34 +0000 |
| Subject: | Re: PHP stdout stream | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-236195@lists.php.net to get a copy of this message | ||
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.