This commit is contained in:
Nelson Rush 2000-05-11 08:29:35 +00:00
parent 0420bdf3f5
commit 1b1fbf2b1b
2 changed files with 18 additions and 25 deletions

View file

@ -1,25 +1,9 @@
<HTML>
<BODY BGCOLOR="#000000" TEXT="#FFFFFF" LINK="#009AFF"
VLINK="#CC9AFF" ALINK="#009AFF" MARGINWIDTH="0"
MARGINHEIGHT="0" LEFTMARGIN="0" RIGHTMARGIN="0"
TOPMARGIN="0">
<html>
<?
$x = 'BGCOLOR="#990099" ALIGN="center" VALIGN="middle" BORDER="0"';
$y = 'BGCOLOR="#CC33FF" ALIGN="left" VALIGN="middle" BORDER="0"';
$tr = 11; ?>
<TABLE WIDTH="100%" CELLPADDING="0" CELLSPACING="0"
ALIGN="center" VALIGN="top" BORDER="0">
<?
for ($i=1; $i<$tr; $i++) {
$tr_spec = ($i % 2) ? $x : $y; ?>
<TR <? echo $tr_spec; ?>><TD>
<? if($i % 2) { ?>
<FONT COLOR="#FFFFFF" FACE="times" SIZE="3">
Table Row Specification</FONT><? }
else { ?>
<FONT COLOR="#000000" FACE="helvetica" SIZE="2"><B>
<? echo $tr_spec; } ?></B></FONT>
</TD></TR><? } ?>
</TABLE>
</BODY>
</HTML>
<P>Message<TEXTAREA name="message" cols="40" rows="8" wrap="PHYSICAL">
</TEXTAREA><P><INPUT TYPE="submit" VALUE="submit"></FORM>
if ($submit == "submit") {
mail("palisade@quakeforge.net", "Website comment", $message);
}
?>
</html>

9
test.php Normal file
View file

@ -0,0 +1,9 @@
<html>
<?
<P>Message<TEXTAREA name="message" cols="40" rows="8" wrap="PHYSICAL">
</TEXTAREA><P><INPUT TYPE="submit" VALUE="submit"></FORM>
if ($submit == "submit") {
mail("palisade@quakeforge.net", "Website comment", $message);
}
?>
</html>