note 103927 added to function.gnupg-import
| From: | scurippio at tracciabi dot li | Date: | Wed, 11 May 2011 18:29:47 +0000 |
| Subject: | note 103927 added to function.gnupg-import | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-179640@lists.php.net to get a copy of this message | ||
The example in this page is not correct:
$GnuPG = new gnupg();
$PublicData = file_get_contents('public.key');
$PrivateData = file_get_contents('public.key');
the file_get_contents take the same file for 2 times for $PublicData and $PrivateData maybe for
$PrivateData = file_get_contents('private.key');
bye
----
Server IP: 69.147.83.197
Probable Submitter: 78.47.240.101
----
Manual Page -- http://www.php.net/manual/en/function.gnupg-import.php
Edit -- https://master.php.net/note/edit/103927
Del: integrated -- https://master.php.net/note/delete/103927/integrated
Del: useless -- https://master.php.net/note/delete/103927/useless
Del: bad code -- https://master.php.net/note/delete/103927/bad+code
Del: spam -- https://master.php.net/note/delete/103927/spam
Del: non-english -- https://master.php.net/note/delete/103927/non-english
Del: in docs -- https://master.php.net/note/delete/103927/in+docs
Del: other reasons-- https://master.php.net/note/delete/103927
Reject -- https://master.php.net/note/reject/103927
Search -- https://master.php.net/manage/user-notes.php