[code]
<?php
/* Check.php */
function check() /* Establishes the function check */
{
global $text; /* Gets All Variables */
//To Add New Words, Just Copy One Line From Below And Paste It Below The Third Line. Just Replace the first word in quotes with the word you would like, and the second word in quotes to what you would like to change it to.//
$text = str_replace(“hey”,”****”,$text); /* Replaces the word “hey” into “****” */
$text = str_replace(“pie”,”****”,$text);
$text = str_replace(“php”,”***”,$text);
echo $text;
}
return check(); /* Returns the function check() */
?>
Following on from an earlyer discussion i found this simple filter out there on the WWW. can anyone help tighten up the code here? am i missing somthing or is one line of code per word a little excessive???
and before people get worried too much about censorship issues the please see my earlyer thread on why i need to impliment this… were not all adults here unfortunatly
As usual Many thanks
Mouse ?