Menu
[URL=”http://bokehman.com/tests/command-prompt.jpg”]Command line image
The command shown creates an encrypted file but if I try to do it from exec() instead of the command line no file is created and there is no error message. Any ideas?
[code=php]echo ‘gpg -e -r Website ‘.getcwd().’GnuPG-test.txt’;
// echos: gpg -e -r Website C:AppServ5wwwGnuPG-test.txt
exec(‘gpg -e -r Website ‘.getcwd().’GnuPG-test.txt’, $result);
echo ‘<br>’; var_dump($result);