Re: [PHP] Re: regular expression help

2005-01-21 Thread RaTT
Hi, >From what i can see you dont even need to call global, as your passing variables to the function ? this could be causing the script to confuse itself. hth On Fri, 21 Jan 2005 09:30:21 -0700, Jason <[EMAIL PROTECTED]> wrote: > Jason wrote: > > Simple functions to check & fix if necessary i

Re: [PHP] Re: Regular Expression help

2001-06-30 Thread Brad Hubbard
On Fri, 29 Jun 2001 23:43, Clayton Dukes wrote: > Okay, here's what I have so far: > > ---snip--- > if ((!$email) > >|| ($email=="") >|| (!eregi("^[_\.0-9a-z-]+@domain.+[a-z]",$email)) > >) > $stop = ""._ERRORINVEMAIL.""; > ---snip--- > > This works, but how can I add a

Re: [PHP] Re: Regular Expression help

2001-06-30 Thread J Smith
Clayton Dukes wrote: > Okay, here's what I have so far: > > ---snip--- > if ((!$email) >|| ($email=="") >|| (!eregi("^[_\.0-9a-z-]+@domain.+[a-z]",$email)) >) > $stop = ""._ERRORINVEMAIL.""; > ---snip--- > > This works, but how can I add a second domain? > ie: > Tr