i have tried to PGP to encry a file inside the php program, and i have the following code...
system("pgp -ea test.htm -o test.asc mykey" );
where mykey is the publickey. But after i run the php program, it will show the following:
"Recipients' public key(s) will be used to encrypt. Preparing random session key..."
and i can't see the file test.asc was generated. but if i run the same command "pgp -ea test.htm -o test.asc mykey" on concole, it can generate the test.asc file. Anyone knows what's the problem???