From/Reply To/etc address fix with specified name
doug moore
lordscarlet@idledreams.net
Wed, 14 Feb 2001 16:32:30 -0500
OK, Chuck and I (ok, Chuck :) ) traced down the mailing problem when a user has
specified a name. In RFC822.php the address is split using
$parts = preg_split('/[ \\x09]+/', $phrase, 0, PREG_SPLIT_NO_EMPTY);
This worked fine and dandy up until sometime at the beginning of the month.
The third field specifies the maximum number of indexes to return to the
array. Normally, you would assume 0 would specifiy no limit. Apparently
instead it is now actually setting the limit to 0, therefore returning "doug
moore" as the first element of the array rather than "doug" as the first
element and "moore" as the second. Chuck put in a temporary fix until he can
figure out what is up with PHP. For those interested, he just removed the last
2 arguments so that no limit is specified.
doug.