note 69790 added to function.mail
| From: | vincentdotlepotatsmiledotfr at osu1 dot php dot net | Date: | Thu, 21 Sep 2006 09:42:28 +0000 |
| Subject: | note 69790 added to function.mail | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-117372@lists.php.net to get a copy of this message | ||
The encoding function of lg83 at free dot fr has a little bug when no 8-bit characters exists in the
string to encode. Here is a little patch :
else
{
$buff .= $c;
- if ($c == " ")
+ if (($c == " ") or ($i == strlen($s)-1))
{
$r .= $buff;
----
Server IP: 217.174.203.10
Probable Submitter: 212.180.69.18
----
Manual Page -- http://www.php.net/manual/en/function.mail.php
Edit -- https://master.php.net/note/edit/69790
Del: integrated -- https://master.php.net/note/delete/69790/integrated
Del: useless -- https://master.php.net/note/delete/69790/useless
Del: bad code -- https://master.php.net/note/delete/69790/bad+code
Del: spam -- https://master.php.net/note/delete/69790/spam
Del: non-english -- https://master.php.net/note/delete/69790/non-english
Del: in docs -- https://master.php.net/note/delete/69790/in+docs
Del: other reasons-- https://master.php.net/note/delete/69790
Reject -- https://master.php.net/note/reject/69790
Search -- https://master.php.net/manage/user-notes.php