Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > PHP How-To
| Search | Today's Posts | Mark Forums Read
PHP How-To Post your "How do I do this with PHP?" questions here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the PHP How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old July 12th, 2004, 02:47 PM
Authorized User
Join Date: Jun 2003
Location: San Jose, CA, USA.
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
Default PGP (GPG) / PHP Help! URGENT!!!!!!!!


I am in need of someone who know GPG and PHP fairly strongly. I have a PHP script on a unix box that needs to send out a PGP encrypted e-mail from post variables. However while GPG works fine in the command line, as soon as you dump it in the PHP script, it chokes. No error message or anything, it just doesn't work.

I need someone to help me out ASAP! And by ASAP I mean last week, so this is going fast. Please e-mail me for more details: chris@webagencies.com

If you can help me out, then you can name you asking price for the job. Within reason that is.

Once again, this is URGENT!!!!!!!!!!!

Old July 13th, 2004, 06:19 AM
Friend of Wrox
Join Date: Jun 2003
Location: , , United Kingdom.
Posts: 256
Thanks: 0
Thanked 0 Times in 0 Posts

What machine is doing the actual send? If you mean, that you can send PGP encrypted emails via the commandline, I might suggest that this is because it's you that's sending the mail. when it's PHP that's generating the mail, it's actually "nobody" that's trying to do the actual send. You may want to look into the chain of permissions necessary to achieve that. PHP simply hands a mail() job to the Mail Transfer Agent, and won't worry about whether the job went ahead correctly. it could be that some process involved in sending the mail (or the relay server, if there is one) has been set up to prevent that kind of activity for security reasons (i.e to stop the machine ebing used for spam) and is quietly stomping on wheatever processes your script is trying to launch. (No error messages: since error messages, in themselves, can help script kiddies hijack machines).

Just my 2pence
Take it easy,

Similar Threads
Thread Thread Starter Forum Replies Last Post
Decrypting pgp files with vbscript tonyromero99 VBScript 4 June 4th, 2008 04:09 AM
PGP Encryption everest C# 2005 4 October 28th, 2007 08:20 PM
Identifying a PGP file bnraju1 BOOK: Beginning Cryptography with Java 4 July 13th, 2007 04:05 PM
printing in php...urgent raaj Beginning PHP 1 March 14th, 2007 12:57 AM
pgp file? ktchlin C# 1 July 26th, 2004 07:49 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.