Steve, et al --
...and then Steve Jackson said...
%
...
% // check an email address is possibly valid
% if (ereg("[EMAIL PROTECTED]",
% $email))
...You could just downcase the address and save some chars; email is case-insensitive. You've left out the '+' character used for name+extensions under sendmail (and perhaps postfix). You allow an ending . on a hostnmae, which you shouldn't. It looks like you could switch your two [] expressions on the right side and lose the \. in the middle and be OK. % % HTH HTH & HAND :-D -- David T-G * There is too much animal courage in (play) [EMAIL PROTECTED] * society and not sufficient moral courage. (work) [EMAIL PROTECTED] -- Mary Baker Eddy, "Science and Health" http://justpickone.org/davidtg/ Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
pgp00000.pgp
Description: PGP signature

