Re: [PHP] quick question about preg_replace

2006-10-05 Thread Ivo F.A.C. Fokkema
On Thu, 05 Oct 2006 09:29:46 +0800, Penthexquadium wrote: > On Wed, 4 Oct 2006 23:19:58 +0200, "Martin Bach Nielsen" <[EMAIL PROTECTED]> > wrote: > >> Hi all. >> >> >> >> I have written a guestbook (I know, there's a ton out there), which until >> recently did not get any spam, so now I'm tr

Re: [PHP] quick question about preg_replace

2006-10-04 Thread Penthexquadium
On Wed, 4 Oct 2006 23:19:58 +0200, "Martin Bach Nielsen" <[EMAIL PROTECTED]> wrote: > Hi all. > > > > I have written a guestbook (I know, there's a ton out there), which until > recently did not get any spam, so now I'm trying to remove the spam-ad by > using preg_replace: > > > > $meldin

[PHP] quick question about preg_replace

2006-10-04 Thread Martin Bach Nielsen
Hi all. I have written a guestbook (I know, there's a ton out there), which until recently did not get any spam, so now I'm trying to remove the spam-ad by using preg_replace: $melding = preg_replace('/(