I would like to use this bbs when anybody sign up the number is decrease
for example
taicyber@excite....................Number:999
Subject Try
and if next person sign up will show like this
anybody@yahoo.com..................Number:998
Here is that script;
<?
if (isset($message)) {
$name = strip_tags($name);
$message = strip_tags($message);
<b> $number = "10000";</b> This is number which want to decrease evertime if someone sign up!!
$message = ereg_replace( "\r\n\r\n", "\n<P>", $message);
$date = date( "l, F j Y, h:i a");
$message = "<table width=\"630\" border=\"0\"><tr><td bgcolor=\"#ffcccc\"><font color=\"#ffffff\" size=\"1\" face=\"verdana,arial,helvetica\"><B>$name</B> -- <B><a href=\"mailto:$mail\">$mail</a></B> -- <B>$date</B></font></td><td bgcolor=\"#ffccff\"><font color=\"#ff3399\" size=\"1\" face=\"verdana,arial,helvetica\"><b><font color=\"#000000\" size=\"1\" face=\"verdana,arial,helvetica\">Price:</font>$counter_now</b></font></td></tr><tr><td colspan=\"2\" bgcolor=\"#ff9900\"><font color=\"#ffffff\" size=\"1\" face=\"verdana,arial,helvetica\"><b><font color=\"#000000\" size=\"1\" face=\"verdana,arial,helvetica\">Subject:</font></b> $subject</font></td></tr><tr><td valign=\"middle\" colspan=\"2\" bgcolor=\"#ff3399\"><font color=\"#000000\" size=\"1\" face=\"verdana,arial,helvetica\">$message</font></td></tr></table><BR>";
$fp = fopen (basename($PHP_SELF) . ".comment", "a");
fwrite ($fp, $message);
fclose ($fp);
}
@readfile(basename(($PHP_SELF . ".comment")));
?>
<head>
<title>Phatboard V1.0</title>
<!--//Phatboard V1.0
//Created by Craig Donnelly (craigy@eircom.net) on 05/01/01
//Feel free to modify this file + send the url where u are using it to craigy@eircom.net-->
</head>
<body bgcolor="#ffffff">
<form method="post">
<b>Your name:</b><BR><input name="name" type="text" size="55"><BR>
<b>E-mail:</b><BR><input name="mail" type="text" size="55"><BR>
<b>Subject:</b><BR><input name="subject" type="text" size="55"><BR>
<b>Your comment:</b><BR><textarea name="message" rows=10 cols=55 wrap=virtual>
</textarea><BR>
<input name="submit" type="submit" value="Post your comments">
</form>
<style>
<--
a:link { color: #000000; font: 7.5pt verdana; font-weight: none; text-decoration: underlined }
a:visited { color: #000000; font: 7.5pt verdana; font-weight: none; text-decoration: underlined }
a:active { color: #000080; font: 7.5pt verdana; font-weight: none; text-decoration: none }
a:hover { color: #000080; font: 7.5pt verdana; font-weight: none; text-decoration: none }
td { color: #000000; font: 7.5pt verdana; font-weight: none; text-decoration: none }
body { color: #000000; font: 7.5pt verdana; font-weight: none; text-decoration: none }
input { color:#000000; font: 7.5pt verdana; font-weight: none; text-decoration: none; background: #ffccff; border: 1 solid #ff3399; }
textarea { color:#000000; font: 7.5pt verdana; font-weight: none; text-decoration: none; background: #ffccff; border: 1 solid #ff3399; }
-->
</style>
</body>
thank very much.