This would work but I don't think that this was the idea.

You could send encrypted email from to server to another place with this method
but you can't encrypt the date transmitted with an html form. (since php runs
on the server and not on the client machine)

To secure the communication between the web-server and the client's browser you
can't use php. You'll either need SSL for your server or you use a java to
encrypte the data on the client side and then send it to the server.


On 24-Aug-2001 Jon Farmer wrote:
> PGP would be an ideal solution for this. The webserver would have the public
> key and the people operating the PDQ machine the private key. A few things
> to remember are.
> 
> 1. Call PGP using exec()
> 2. Make sure you read the PGP docs to see how to use a particular keyring.
> 3. Make sure the keyrings and randseed files are readable by the apache
> user.
> 4. Have fun
> 
> I have successfully got this working and if you need any help let me know
> 
> Regards
> 
> jon
> 
> 
> Hi all,
>     I need to use a public/private key encryption system for dredit card
> details on a site I am developing.  We are not taking Credit Card payments
> with an online marchanmt such as NetBanx Sec Pay, etc, etc, but we need to
> send the CC details to the Shop Management for putting through a PDQ
> machine.  How can I use a Public Private key system to do this from PHP.  I
> know Java can support RSA (although never investigated it), and that PHP can
> use standard Java classes (is this true?).
> 
> Please any help would be great
> 
> Martin Gunther
> 
> 
> 
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
> 

----------------------------------
E-Mail: Gregor Maier <[EMAIL PROTECTED]>
Date: 24-Aug-2001
Time: 17:37:41
----------------------------------

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to