Hi, I am creating text files (.sql) backups using php.
I need to to run gpg using php's system function and here's my requirement.
1. pickup the .sql file (eg: bak.sql) and create an encrypted gpg file. I need to know how this is done without user intervention.
2. delete the .sql file. But how do I know if the gpg operation has finished?