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] Re: Problems with PHP calling PGP

2001-08-24 Thread Richard Lynch
> Note: I am running my PHP script through a program called php-cgiwrap which > makes the PHP script execute as me on the server rather than as "nobody". I > can't let the script execute as "nobody" because "nobody" doesn't have > permission to run PGP, but I do. You may want to look at suExec ht