Re: [pear-webmaster] pear-testing malinglist

From: Date: Wed, 16 Jun 2004 06:19:53 +0000
Subject: Re: [pear-webmaster] pear-testing malinglist
References: 1 2 3 4 5  Groups: php.pear.webmaster 
Request: Send a blank email to pear-webmaster+get-2572@lists.php.net to get a copy of this message
Hi Toby: On Wed, Jun 16, 2004 at 01:58:23AM -0400, Tobias Schlitt wrote: > > Evem search and replace is always a risk. :) You can come up with a better argument than that. mail() is only used 14 times, spanning seven files. That's a piece of cake. The search/replace can be done with a regex search and manual replacement. Here's the regex I used to come up with the calculation: grep -rE '([^a-zA-Z_])mail\(' . > So, why not walk the secure > way and just define the mailadresses depending on the environment? The addresses aren't centralized. None of the 14 calls to mail use any predefined addreses. Nor can most of them be configured to do so. > In that case we can even change it to use the new Damblan_Mail class I > created, which could check for DEV-BOX and email the test list instead > of all real mail adresses. :) I thought you said you don't want to search/replace? :) Anyway, where can we take a look at it? --Dan -- T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y data intensive web and database programming http://www.AnalysisAndSolutions.com/ 4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409

« previous php.pear.webmaster (#2572) next »