Solved it by upgrading PGP! Paul Smith Microtech Limited http://www.microtech.co.gg
-----Original Message----- From: Paul J. Smith Sent: 25 February 2002 10:45 To: [EMAIL PROTECTED] Subject: [PHP-WIN] shell_exec (or other exec sunctions) and pgp.exe Hi, Anyone any ideas how I can get this simple piece of code to work!? $output=shell_exec("pgp.exe -sta -u test test.txt"); echo $output; pgp.exe is in the folder where the script runs. It has all the right permissions. Safe mode is off for testing. If I change the pgp command to something like 'dir', I get a response. I've tried various combinations of 'cmd.exe /c pgp' etc., but havn't had any luck. I don't know if this is a pgp thing, or a PHP thing! This email or attachment(s) may contain confidential or legally privileged information intended for the sole use of the addressee(s). Any use, redistribution, disclosure, or reproduction of this message, except as intended, is prohibited. If you received this email in error, please notify the sender and remove all copies of the message, including any attachments. Any views or opinions expressed in this email (unless otherwise stated) may not represent those of Microtech Limited. This email has been scanned for viruses by MailSafe. For more infomation please visit http://www.microtech.co.gg/mailSafe -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php This email or attachment(s) may contain confidential or legally privileged information intended for the sole use of the addressee(s). Any use, redistribution, disclosure, or reproduction of this message, except as intended, is prohibited. If you received this email in error, please notify the sender and remove all copies of the message, including any attachments. Any views or opinions expressed in this email (unless otherwise stated) may not represent those of Microtech Limited. This email has been scanned for viruses by MailSafe. For more infomation please visit http://www.microtech.co.gg/mailSafe -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php