Full-service Internet Marketing & Web Development
Recent Posts

Sponsors
![]() |
Phat Board V1 0Code Wizard, 12-30-2006 |
Handy for Forums/Guestbook let me know where you are using it, mail the URL to craigy@eircom.net
<?
//Phatboard V1.0
//Modified 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
//chMod to 777 + Many thanks to System33r
if (isset($message)) {
$name = strip_tags($name);
$message = strip_tags($message);
$ip = "$REMOTE_ADDR";
$message = ereg_replace( "
", "
<P>", $message);
$date = date( "l, F j Y, h:i a");
$message = "<table width="100%" border="1"><tr><td bgcolor="#A88410"><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="#A88410"><font color="#ffffff" size="1" face="verdana,arial,helvetica"><b><font color="#000000" size="1" face="verdana,arial,helvetica">Logged IP:</font> $ip</b></font></td></tr><tr><td colspan="2" bgcolor="#E8B820"><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="#c0c0c0"><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")));
?>
<html>
<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="#999999">
<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: #c0c0c0; border: 1 solid #000000; }
textarea { color:#000000; font: 7.5pt verdana; font-weight: none; text-decoration: none; background: #c0c0c0; border: 1 solid #000000; }
-->
</style>
</body>
</html>
![]() |
d00d, 05-16-2009 |
This isn't the entire script. And it's a bit borked. And the script doesn't work anyway. Something to do with "if (isset($message))".
|
|
Subscribe Now to receive new posts via Email as soon as they come out.
Comments
Post your comments


