CVS update: php3/doc/functions

From: Date: Sat, 24 Apr 1999 10:52:32 +0000
Subject: CVS update: php3/doc/functions
Groups: php.dev 
Request: Send a blank email to php-dev+get-5246@lists.php.net to get a copy of this message
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@guardian.no", "the subject", $message, +mail("ssb@fast.no", "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@lists.php.net For help: php-dev-help@lists.php.net

« previous php.dev (#5246) next »