note 96657 added to function.quoted-printable-decode
| From: | emahieu at osu1 dot php dot net | Date: | Wed, 10 Mar 2010 11:02:10 +0000 |
| Subject: | note 96657 added to function.quoted-printable-decode | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-166856@lists.php.net to get a copy of this message | ||
In reply to drm, there's a small error in the preg_match_all which causes the last line of the
message to drop off.
It was:
preg_match_all ( '/.{73}([^=]{0,3})/', $string, $match ); // Rule #1
And should be:
preg_match_all ( '/.{1,73}([^=]{0,3})/', $string, $match ); // Rule #1
Thanks for the alternative quoted-printable function, works like a charm!
----
Server IP: 213.249.64.162
Probable Submitter: 194.151.38.135
----
Manual Page -- http://www.php.net/manual/en/function.quoted-printable-decode.php
Edit -- https://master.php.net/note/edit/96657
Del: integrated -- https://master.php.net/note/delete/96657/integrated
Del: useless -- https://master.php.net/note/delete/96657/useless
Del: bad code -- https://master.php.net/note/delete/96657/bad+code
Del: spam -- https://master.php.net/note/delete/96657/spam
Del: non-english -- https://master.php.net/note/delete/96657/non-english
Del: in docs -- https://master.php.net/note/delete/96657/in+docs
Del: other reasons-- https://master.php.net/note/delete/96657
Reject -- https://master.php.net/note/reject/96657
Search -- https://master.php.net/manage/user-notes.php