php filter script

Author Topic: php filter script  (Read 3193 times)

Offline WalalayoTopic starter

  • Trade Count: (0)
  • Full Member
  • ***
  • Thank You 3
  • Posts: 180
  • Karma: 2
    • JavaScript Editor
php filter script
« on: 10-08-2011, 03:53:30 »
i need to know how to make a language filtering script. I'm developing a mail system and I want to keep the use of vulgar language restricted. My question is, how can i search for a certain value inside of a string. I realize I could put each individual word of the body into an array and then search each item of the array but that seems like taking the hard way out. any suggestions?


Offline damponting44

  • Trade Count: (0)
  • Sr. Member
  • ****
  • Thank You 19
  • Posts: 436
  • Karma: 0
  • Gender: Male
    • Taxi app development
Re: php filter script
« Reply #1 on: 10-26-2017, 00:28:00 »
This of course was due to there paranoia of me retaliating to their unlawful termination, but thats is entirely a new blog post. I thought I would create a security system to protect my personal information and make it a lot more difficult to coordinate the gathering of information.

Offline lebar.123

  • Trade Count: (0)
  • Semi-Newbie
  • *
  • Thank You 0
  • Posts: 30
  • Karma: 0
  • Gender: Male
    • Zero Bounce
Re: php filter script
« Reply #2 on: 12-18-2017, 08:39:10 »
I feel like this is the safest way of doing it. You pass all the words to an array then check if it contains vulgar words from a dictionary. I did that form my email validation service and it worked fine.
Get your  emails validated at ZeroBounce.net

 

Related Topics

  Subject / Started by Replies Last post
1 Replies
1838 Views
Last post 11-22-2011, 05:02:40
by C.Rebecca
0 Replies
1740 Views
Last post 09-09-2013, 03:00:26
by Faktor.biz
0 Replies
896 Views
Last post 08-24-2016, 07:07:44
by beingchinmay
1 Replies
867 Views
Last post 01-18-2017, 00:03:53
by wellliving
1 Replies
518 Views
Last post 10-04-2017, 02:08:51
by komal