So if I type sh*t on youtube, I can make it say **CENSORED** on youtube?
LittleGagePlanet 2 months ago
it sais Notice: Undefined index: submit in .../index.php on line 11
dutchwowerke 4 months ago
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.
thekevchix 6 months ago
Could it also be done in a database and add all the words into the database
p17br0w 11 months ago
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 * :)
brokenbylaw2 1 year ago
Good tuts ;)
H3dQ 2 years ago 2
thnx
Timzy921 2 years ago 4
Cheeeeeeeers Alex for this nice tut!
omanoman98 2 years ago
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 :)
So if I type sh*t on youtube, I can make it say **CENSORED** on youtube?
LittleGagePlanet 2 months ago
it sais Notice: Undefined index: submit in .../index.php on line 11
dutchwowerke 4 months ago
Hey, it gives an error on the line where this is:
if ($_post['submit'])
do you know why?
dutchwowerke 4 months ago
hi how can i include swearfilter from my forum. please i really need your help our capstone project final defense is fast approaching. thanks.
thekevchix 6 months ago
Could it also be done in a database and add all the words into the database
p17br0w 11 months ago
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 * :)
brokenbylaw2 1 year ago
Good tuts ;)
H3dQ 2 years ago 2
thnx
Timzy921 2 years ago 4
Cheeeeeeeers Alex for this nice tut!
omanoman98 2 years ago
Cheeeeeers Alex for this clever tut!
omanoman98 2 years ago
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