OT: Suppressing gpg messages from php exec command?

Toxik - Fabian Rodriguez Fabian.Rodriguez@Toxik.com
Tue Apr 8 14:28:24 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Have you tried "@" before the exec command ?:

>--------- PHP -----------------
>$msg = $some_gpg_signed_clear_text
>$comd = "echo '$msg' | /usr/local/bin/gpg --decrypt";
> @exec($comd,$res,$errcd);
>------- END PHP ---------------

Fabian Rodriguez - Toxik Technologies, Inc.
www.toxik.com - (514) 528-6945 @221
OpenPGP: 0x5AF2A4D5  

-----BEGIN PGP SIGNATURE-----

iD8DBQE+kr/0fUcTXFrypNURAvqWAJwJmxCWTijTtUB0qE39oUk5ZE9lkwCgi6BZ
tG8+akg32jShfHkLiJHweos=
=Rowg
-----END PGP SIGNATURE-----