Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.6.9

Doc Bug #15054 small error in documentation
Submitted: 2008-11-17 12:34 UTC
From: alexzey Assigned: cweiske
Status: Closed Package: Crypt_GPG (version 1.0.0RC1)
PHP Version: Irrelevant OS:
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 18 + 36 = ?

 
 [2008-11-17 12:34 UTC] alexzey (Alex Zey)
Description: ------------ see End-user Documentation, chapter "Examples", paragraph "Encrypting Credit Card Numbers" plain text card number ($card_number) will be stored instead of the encrypted card number ($encrypted) Expected result: ---------------- $sql = sprintf('insert into payments (card_type, card_number) ' . 'values (%s, %s)', mysql_real_escape_string($card_type), mysql_real_escape_string($encrypted)); Actual result: -------------- $sql = sprintf('insert into payments (card_type, card_number) ' . 'values (%s, %s)', mysql_real_escape_string($card_type), mysql_real_escape_string($card_number));

Comments

 [2008-11-17 20:02 UTC] cweiske (Christian Weiske)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.