I have a PGP /PHP 2 EMAIL requirement,
the process,
1🙂Output contents of database query to file - Done
2🙂Encrypt the contents of the file using PGP, using the appropriate key and passphrase - MMMMMM!!!!!
3🙂Email contents of file, No Probs.
Basically the problem is I have no experience of using PGP with PHP, I can encrypt the file from the command line with a single command line, no problem, just never done it via coding.
I would appreciate it if someone could give some pointers, especially on how to introduce the passphrase into the equation.