Click to See Complete Forum and Search --> : PGP / PHP4 / Win2k


Anon
02-26-2002, 10:41 AM
I am pulling my hair out over this one for the last 2 days!

I want to simply sign a text file with pgp. From the command line I can just run

pgp.exe -sta test.txt -u myname -z password

and it will work

Put this into a shell_exec(), system(), etc. in a php script and run from the prompt, php test.php, and the script works fine. Run it from IIS, and it doesn't work. I get no output at all. This is with pgp 2.6 command line. I tried running with 6.5 and I do get an output then, but PGP can't find any of it's support files and then can't sign anything!

Someone MUST have done this before? Please help me before I go grey! :)