/*
require("/some/full/path/annotate.php3");
*/
function make_clickable($text) // thanks to phpwizard.net
{
$ret =
eregi_replace("([[:alnum:]]+)://([^[:space:]]*)([[:alnum:]#?/&=])",
"\\1://\\2\\3",
$text);
$ret =
eregi_replace("(([a-z0-9_]|\\-|\\.)+@([^[:space:]]*)([[:alnum:]-]))",
"\\1", $ret);
return($ret);
}
if ($message)
{
$name = strip_tags($name);
$message = strip_tags($message,",,
,
");
if (get_magic_quotes_gpc())
{
$message = stripslashes($message);
$name = stripslashes($name);
}
$message = ereg_replace("\r\n\r\n", "\n
", $message);
$message = make_clickable($message);
// net.morons have been entering excessively long lines, so
// the following will trim them down (php > 4.0.3)
$message = wordwrap($message,60,"\n",1);
$date = date("l, F j Y, h:i a");
$message = "
\n
$name $date
" . $message . "";
$fp = fopen ("forum.comment.html", "a");
fwrite ($fp, $message );
fclose ($fp);
}
?>
MLReunion.com - Message Board
 |
Mira Loma Reunion
Classes of '93 and '94 |
 |

MLReunion.com | Invitation | Event Details | Stay In Touch | Message Board
 |
 |
 |
 |
 |
 |
Message Board
// the @ suppresses errors if the file is missing
@readfile("forum.comment.html");
?>
|
 |
|
 |
|