note 69110 added to function.mail

From: Date: Wed, 23 Aug 2006 14:39:30 +0000
Subject: note 69110 added to function.mail
Groups: php.notes 
Request: Send a blank email to php-notes+get-116226@lists.php.net to get a copy of this message
I found the problem/bug of lg83 at free dot fr's function which can be found a few comments lower: You have to add the following line: if ($mode==1) $r.=$buff; Just put it after the the line with: if ($mode==2) $r.="?="; The problem was, that if there are only ASCII chars in the input, the buffer is not added to the result. ---- Server IP: 217.160.72.57 Probable Submitter: 131.188.244.117 ---- X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER autolearn=no version=2.64 ---- Manual Page -- http://www.php.net/manual/en/function.mail.php Edit -- https://master.php.net/note/edit/69110 Del: integrated -- https://master.php.net/note/delete/69110/integrated Del: useless -- https://master.php.net/note/delete/69110/useless Del: bad code -- https://master.php.net/note/delete/69110/bad+code Del: spam -- https://master.php.net/note/delete/69110/spam Del: non-english -- https://master.php.net/note/delete/69110/non-english Del: in docs -- https://master.php.net/note/delete/69110/in+docs Del: other reasons-- https://master.php.net/note/delete/69110 Reject -- https://master.php.net/note/reject/69110 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#116226) next »