Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > PHP/MySQL > PHP How-To
Password Reminder
Register
| FAQ | Members List | Calendar | 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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
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!!!!!!!!

Hello,

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!!!!!!!!!!!


----------
~cmiller
__________________
----------
~cmiller
Reply With Quote
  #2 (permalink)  
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
Default

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,
Dan
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 03:17 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.