Well I need a quick solution for checking if a string contains an email address or anything of the similar, example:
I allow user to type in their personal profile in a textarea and name it "profile"
so in php i will catch it in $profile but would want to check if there is an email value in it. If there is, an error will be trigered as this is not allowed.
Please help.
Thanks
I allow user to type in their personal profile in a textarea and name it "profile"
so in php i will catch it in $profile but would want to check if there is an email value in it. If there is, an error will be trigered as this is not allowed.
Please help.
Thanks
Comment