Bad Word Filter and Calling in Code (again ;))
Hiya
Im currently working on building a forum, and I have ran into a few difficulties, well, maybe not, "difficulties" as such, but troubleing events! :)
The first, is my bad word filter, the only way I can think of doing this, is by putting each individual word in the post into an array, thats easy enough, and then putting every "banned" word into another array. It would then run a loop which compared the two and if it found a bad word it would change it. However this seems like itll be alot of hard work for the forum as its checking like, 10 words, against every 1 word in the post!
Im having a little trouble with my LINK call ;)
Code:
<link rel="script" type="php" href="page-stats.php">
can anyone help me as of where i went wrong? I did put ths in the head btw!
Re: Bad Word Filter and Calling in Code (again ;))
Quote:
Originally posted by JafferAB
Im having a little trouble with my LINK call ;)
Code:
<link rel="script" type="php" href="page-stats.php">
can anyone help me as of where i went wrong? I did put ths in the head btw!
that is invalid and you can't do it that way. you have to use php's include