Uploader Comments (phpacademy)
Top Comments
-
thnx
-
Good tuts ;)
All Comments (13)
-
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 * :)
-
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?
montage12333 3 years ago
You can make it so the new string is put into a variable and just stored for use in the guestbook.
phpacademy 3 years ago
You know, you could just:
str_replace("shit","sh**",$string);
=)
Ghotherkill 3 years ago
but it makes it easier to keep EVERY word you want to filter in an array :)
phpacademy 3 years ago