Hi,
I have a fairly simple perl program that helps me to combat spam on my site. It uses the split function to chop an email into to separate parts with the @ being the designated separator.
($username,$domain) = split(/@/,$email);
Which basically says, take the email address in $email and put the part that is before the @ into the $username variable and the part after the @ into the $domain variable.
Is there an easy way for me to accomplish the same in php?
Thanks so much for anybody's time if they can help me out.
-Scott