fixing example (user note)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@142760 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Mehdi Achour 2003-10-20 11:40:52 +00:00
parent d6b28795ce
commit d5d07fcec5

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.5 $ -->
<!-- $Revision: 1.6 $ -->
<!-- splitted from ./en/functions/openssl.xml, last change in rev 1.4 -->
<refentry id="function.openssl-pkcs7-sign">
<refnamediv>
@ -62,7 +62,7 @@ fclose($fp);
if (openssl_pkcs7_sign("msg.txt", "signed.txt", "mycert.pem",
array("mycert.pem", "mypassphrase"),
array("To" => "joes@sales.com", // keyed syntax
"From: HQ <ceo@sales.com>", // indexed syntax
"From" => "HQ <ceo@sales.com>", // indexed syntax
"Subject" => "Eyes only"))
{
// message signed - send it!