Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Hi all ..
i had a forum i made in frontpage but lots of bad posts were done ... so i had to delete it.
is there any free forum , where i can set some world's and not to allow posting any message with any of these words ?!
if yes , or any relative idea plz share it with me .
thank you so much for your timeehab

"not to allow posting any message with any of these words ?!"
we'll just store the post in the variable $contents
<?php
$contents = $_POST['submit']; //something like that
$words = array("badword_1", "badword_2", "badword_3", "badword_4"); //your bad words
foreach($words as $word) {
$contents = eregi_replace($word, "censored", $contents);}
echo $contents;
?>
if you wanna check it out, go here
FBI_Agent

Could take a look at phpBB.com, very versatile and can give you as much tight control over posting as you need.

![]() |
help with .htaccess/ .htp...
|
what code
|

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |