OT: Suppressing gpg messages from php exec command? (now ISO-8859-1
encoded)
Toxik - Fabian Rodriguez
Fabian.Rodriguez@Toxik.com
Tue Apr 8 16:37:01 2003
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Have you tried "@" before the exec command ?:
>--------- PHP -----------------
>$msg =3D $some_gpg_signed_clear_text
>$comd =3D "echo '$msg' | /usr/local/bin/gpg --decrypt";
> @exec($comd,$res,$errcd);
>------- END PHP ---------------
Fabi=E1n Rodr=EDguez - Toxik Technologies, Inc.
www.toxik.com - (514) 528-6945 @221
OpenPGP: 0x5AF2A4D5
-----BEGIN PGP SIGNATURE-----
iD8DBQE+kr/0fUcTXFrypNURAvqWAJwJmxCWTijTtUB0qE39oUk5ZE9lkwCgi6BZ
tG8+akg32jShfHkLiJHweos=3D
=3DRowg
-----END PGP SIGNATURE-----