Hi Andrew, Sounds like an interesting twist. I did some PHP myself. Maybe I can help. Some questions: 1. Okay what happens? What does it doesn't work mean? 2. Anything in the log files? 3. Does it work if you address gpg manually? On a different note: since your linking to gpg I was wondering if you GPL your solutions. I think people could use such code very well.... Cheers, Brenno J.S.A.A.F. de Winter.