Re: System() and PGP

From: Date: Thu, 19 Jul 2001 08:04:41 +0000
Subject: Re: System() and PGP
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-58629@lists.php.net to get a copy of this message
Hello David, Thursday, July 19, 2001, 8:48:17 AM, you wrote: DP> I can use this command to encrypt messages: DP> system("pgp -ea $plainTxt 'David Price DP> <dprice@info-logix.com>'"); DP> without any problems. But when I try, DP> system("pgp"); DP> I don't get any output. It should display the general help text. It does. But it sends the output to STDERR, which PHP doesn't have access to. If you do this with apache, the output will go straight to the apache, omitting PHP, if from a shell with PHP executable, the lines go to the shell's tty. -- Best regards, Maxim Derkachev mailto:max.derkachev@books.ru System administrator & programmer, Symbol-Plus Publishing Ltd. phone: +7 (812) 324-53-53 www.books.ru, www.symbol.ru

« previous php.general (#58629) next »