$importkey = system('gpg --import newkey.asc . $username');
need to pass the file name as a variable.so that file name with its contents can be import in gnupg keyring.
$gpg = system('gpg --recipient userid --output filename --armor --encrypt filename to encrypt', $retvalue);
how can i pass the recipient email id(userid) and the filename as variable to gpg commands
thanks!