This is an easy one I think but I just can't do it for some reson - I want to check more than one variable on the same line, not just address, but can't work out the syntax to do this...
ie. So this code........
$crack=eregi("(to:)|(from:)|(cc:)|(bcc:)",$address);
does this........
$crack=eregi("(to:)|(from:)|(cc:)|(bcc:)",$address and another variable);
I want it so that if any of the variables meet the criteria set in the eregi function then $crack will be true (or 1).
Thanks!