php coding

Larry's Avatar

Larry

08 Jun, 2012 09:27 PM

Hi,
I built a form using an online service and now I'm trying to add some code to its php file so that it encrypts the compiled email (which includes credit cards info) before it sends it to me.

They gave me some starting clues: "pgpencode"=>"your php command",
which gets inserted in the existing code here:
$FILTERS = array("encode"=>"$REAL_DOCUMENT_ROOT/cgi-bin/fmencoder -kpubkey.txt",

            "pgpencode"=>"your php command",
            "null"=>"null",
            "csv"=>"csv");

BUT
I don't know much.
Do I need an application uploaded to the server?
Just a key file?
WHat do I do next?

Any help?

thanks
larry

:D

  1. Support Staff 1 Posted by Luke Le on 11 Jun, 2012 08:54 AM

    Luke Le's Avatar

    Hi Larry,

    we may be able to help you if you send us a documentation of the service you're using. From this little PHP snippet it's hard to tell, what exactly you should pass to pgpencode.

    Also, you definitely shouldn't keep credit card info even though you encrypt it. And I hope you're form is sent via SSL.

  2. Support Staff 2 Posted by Steve on 10 Jul, 2012 10:47 AM

    Steve's Avatar

    No further user feedback. Closing.

    @Larry: Should your problem persist, feel free to re-open this discussion any time.

    All the best,
    steve


    Please consider a donation. We do all this in our spare time.

  3. Steve closed this discussion on 10 Jul, 2012 10:47 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac