Re: [PHP] Re: Problems with PHP calling PGP

2001-08-24 Thread CO Group Support
mails it using php mail */ $cmd = "echo '$msg' | /usr/local/bin/pgp -feat +force +batchmode '$ruid' -u '$suid' 2>/dev/null"; $encrypted = `$cmd`; $encrypted = "From: $from\n\n" . $encrypted; mail($to, $subject, "", "$encrypted");

[PHP] Problems with PHP calling PGP

2001-08-24 Thread CO Group Support
Hi all. I am having a very strange problem when trying to run PGP under Unix shell from inside a php script. I am trying to encrypt the body of an email message. And, bizarrely, I can get it to work fine several different ways (using exec(), popen(), backtick, etc), but (here's the strange part