",htmlentities(trim($_POST["t"]))); if (strpos($text,"href=") === FALSE && strpos($text,"http://") === FALSE) // silently ignore link spam { $channel = htmlentities($_POST["c"]); $new = trim(file_get_contents("quot/new.html")); $allfile = trim(file_get_contents("quot/irc_quotes.html")); $new = str_replace("|T|",$text,str_replace("|D|",gmdate("F jS, Y"),str_replace("|C|",$channel,$new))); $allfile = str_replace("","\n".$new,$allfile); echo $allfile; file_put_contents("quot/irc_quotes.html",$allfile); exit; } } include "quot/irc_quotes.html"; ?>