Date: 04/24/99
- Next message: sas: "[PHP-DEV] CVS update: php3"
- Previous message: Bug Database: "[PHP-DEV] Bug #1347 Updated: setcookie executes after previous cookie value is read"
- Next in thread: ssb: "[PHP-DEV] CVS update: php3/doc/functions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Saturday April 24, 1999 @ 6:52
Author: eschmid
Update of /repository/php3/doc/functions
In directory php:/tmp/cvs-serv4385
Modified Files:
mail.sgml
Log Message:
Fourth argument is optional.
Index: php3/doc/functions/mail.sgml
diff -u php3/doc/functions/mail.sgml:1.7 php3/doc/functions/mail.sgml:1.8
--- php3/doc/functions/mail.sgml:1.7 Wed Dec 9 21:07:39 1998
+++ php3/doc/functions/mail.sgml Sat Apr 24 06:52:32 1999
@@ -19,7 +19,7 @@
<paramdef>string <parameter>to</parameter></paramdef>
<paramdef>string <parameter>subject</parameter></paramdef>
<paramdef>string <parameter>message</parameter></paramdef>
- <paramdef>string <parameter>additional_headers</parameter></paramdef>
+ <paramdef>string <parameter><optional>additional_headers</optional></parameter></paramdef>
</funcsynopsis>
<simpara>
<function>Mail</function> automatically mails the message specified
@@ -41,7 +41,7 @@
<example>
<title>Sending mail with extra headers.</title>
<programlisting>
-mail("ssb <email protected>", "the subject", $message,
+mail("ssb <email protected>", "the subject", $message,
"From: webmaster@$SERVER_NAME\nReply-To: webmaster@$SERVER_NAME\nX-Mailer: PHP/" . phpversion());
</programlisting>
</example>
-- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe <email protected> For help: php-dev-help <email protected>
- Next message: sas: "[PHP-DEV] CVS update: php3"
- Previous message: Bug Database: "[PHP-DEV] Bug #1347 Updated: setcookie executes after previous cookie value is read"
- Next in thread: ssb: "[PHP-DEV] CVS update: php3/doc/functions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

