Dave Posted August 1, 2008 Share 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 Link to comment Share on other sites More sharing options...
Isomerizer Posted August 1, 2008 Share Posted August 1, 2008 Re: How would i...... if (eregi('www.', $string)) { // Code here } Quote Link to comment Share on other sites More sharing options...
Dave Posted August 1, 2008 Author Share 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 Link to comment Share on other sites More sharing options...
Dave Posted August 1, 2008 Author Share Posted August 1, 2008 Re: How would i...... No need to reply i did some research and found the answer Quote Link to comment Share on other sites More sharing options...
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.