note 37536 added to function.explode
| From: | arisATriponceDOTcom at rn2 dot php dot net | Date: | Wed, 19 Nov 2003 03:35:28 +0000 |
| Subject: | note 37536 added to function.explode | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-60602@lists.php.net to get a copy of this message | ||
If you decide to send mail over an SMTP connection instead of using mail(), keep these hints in
mind:
- Separate the header list from the message body with a single blank line. This way if the message
body contains text that matches the headers you are safe.
- Apply the "hidden dot algirithm" to the body text. This simply means that if a line
begins with a single "." just replace it with two dots "..".
Example:
BEFORE:
-------------------
Subject: My message
Errors-To: me@mine.com
Subject: Lunch
Remember the following items:
item 1
.
.
.
Item 21
---------------------
AFTER:
---------------------
Subject: My message
Errors-To: me@mine.com
Subject: Lunch
Remember the following items:
item 1
..
..
..
Item 21
-----------------------
----
Manual Page -- http://www.php.net/manual/en/function.explode.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+37536
Delete -- http://master.php.net/manage/user-notes.php?action=delete+37536&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+37536&report=yes
Search -- http://master.php.net/manage/user-notes.php