Re: Mail/mimeDecode.php

From: Date: Tue, 04 Sep 2001 15:49:25 +0000
Subject: Re: Mail/mimeDecode.php
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-1791@lists.php.net to get a copy of this message
On Tue, 4 Sep 2001 17:46:18 +0200, Björn Schotte wrote: >* Martin Jansen wrote: >> But often the userland implementations are the only possibility > >I don't like userland implementations if there are >already existing extensions, but I have one suggestion: >the corresponding userland implementation *MUST* give >advice that there exists already an extension which does >the same thing (and perhaps better) and that user should >use the extension if it's possible for him. If not, he >should use the userland implementation instead. Is if (function_exists("mailparse_foo")) { return new PEAR::raiseError("USE THE EXTENSION INSTEAD"); } ok for you :-) >With this statement you can avoid that people think >"Oh, PHP can't parse mails natively" etc. I don't have anything against this idea. - Martin

« previous php.pear.dev (#1791) next »