Dave Posted August 1, 2008 Posted August 1, 2008 Hello, Im working on a anti spam system but ive been searching on google for this but what im trying to do is something like below (Not actual coding trying to make it make sense) if($msg contains "www.") { //Report message as not sent } Does anyone now how to do this or can add some helpful input. Thanks in advance Quote
Isomerizer Posted August 1, 2008 Posted August 1, 2008 Re: How would i...... if (eregi('www.', $string)) { // Code here } Quote
Dave Posted August 1, 2008 Author Posted August 1, 2008 Re: How would i...... That was quick thanks would it work if i did something like if (eregi('www.','.com' $string)) { // Code here } Or not? Quote
Dave Posted August 1, 2008 Author Posted August 1, 2008 Re: How would i...... No need to reply i did some research and found the answer Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.