[PHP] Re: mail() takes too much time

2007-09-03 Thread Matthew Lasar
I run pretty simple mail group distribution program that uses php/mysql and the mail() function. I adapted it from an open source script. Most of the time it runs well. But it does take a while to run through all 150 members of the list. So I'm half glad that I don't have a list of 1000 people

Re: [PHP] regular expression question

2007-08-31 Thread Matthew Lasar
At 11:32 AM 8/31/2007, Per Jessen wrote: Matthew Lasar wrote: > But I don't understand why the second half of the regular expression > works. I'm talking about this part: > > @([-a-z0-9]+\.)+[a-z]{2,}/"; > > why is it able to detect repeated sections of the e

[PHP] regular expression question

2007-08-31 Thread Matthew Lasar
.)+[a-z]{2,}/"; why is it able to detect repeated sections of the email address after "@" that are separated by periods? like "@email.alaska.com" . It looks to me like it's only looking for one example of that pattern. Does the "()" allow an unlimited number