|
Posted by MARG on 12/11/05 22:19
Hi Robert,
> I would wager because there's a ! operator preceding the ereg() call.
> Also you have very dirty code, your isEmailOk() function doesn't return
> a value in the case that the if expression fails, it assumes PHP will
> return something useful (PHP returns null, but relying on that is asking
> for trouble, and I doubt you knew so in the first place).
>
> Cheers,
> Rob.
Yes, i knew that.
The code was like ot was for the sake of simplicity.
Warm Regards,
MARG
Navigation:
[Reply to this message]
|