use example.com as per RFC 2606

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@143169 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Friedhelm Betz 2003-10-27 00:43:14 +00:00
parent eae402ffc2
commit 12d604e31c
3 changed files with 9 additions and 9 deletions

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.3 $ -->
<!-- $Revision: 1.4 $ -->
<!-- splitted from ./en/functions/imap.xml, last change in rev 1.33 -->
<refentry id="function.imap-mail-compose">
<refnamediv>
@ -24,9 +24,9 @@
<![CDATA[
<?php
$envelope["from"]="musone@afterfive.com";
$envelope["to"]="musone@darkstar.com";
$envelope["cc"]="musone@edgeglobal.com";
$envelope["from"]="joe@example.com";
$envelope["to"]="foo@example.com";
$envelope["cc"]="bar@example.com";
$part1["type"]=TYPEMULTIPART;
$part1["subtype"]="mixed";

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.2 $ -->
<!-- $Revision: 1.3 $ -->
<!-- splitted from ./en/functions/ldap.xml, last change in rev 1.2 -->
<refentry id="function.ldap-add">
<refnamediv>
@ -46,7 +46,7 @@ if ($ds) {
// prepare data
$info["cn"]="John Jones";
$info["sn"]="Jones";
$info["mail"]="jonj@here.and.now";
$info["mail"]="jonj@example.com";
$info["objectclass"]="person";
// add data to directory

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.6 $ -->
<!-- $Revision: 1.7 $ -->
<!-- splitted from ./en/functions/openssl.xml, last change in rev 1.4 -->
<refentry id="function.openssl-pkcs7-sign">
<refnamediv>
@ -61,8 +61,8 @@ fclose($fp);
// encrypt it
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
array("To" => "joes@example.com", // keyed syntax
"From" => "HQ <ceo@example>", // indexed syntax
"Subject" => "Eyes only"))
{
// message signed - send it!