Added: 3 years ago
From: phpacademy
Views: 4,747
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (13)

Sign In or Sign Up now to post a comment!
  • So if I type sh*t on youtube, I can make it say **CENSORED** on youtube?

  • it sais Notice: Undefined index: submit in .../index.php on line 11

  • Hey, it gives an error on the line where this is:

    if ($_post['submit'])

    do you know why?

  • hi how can i include swearfilter from my forum. please i really need your help our capstone project final defense is fast approaching. thanks.

  • Could it also be done in a database and add all the words into the database

  • look up the replace documentation, a user submitted script allows associative array transformation.

    'shit' => 's***t'

    also you can use regular expressions to grab the text inbetween the first and last letters and replace it with * :)

  • Good tuts ;)

  • thnx

  • Cheeeeeeeers Alex for this nice tut!

  • Cheeeeeers Alex for this clever tut!

  • yo m8 if you include in your guestbook wouldnt the box cum up?

  • You can make it so the new string is put into a variable and just stored for use in the guestbook.

  • You know, you could just:

    str_replace("shit","sh**",$str­ing);

    =)

  • but it makes it easier to keep EVERY word you want to filter in an array :)

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more