[thelist] What is wrong with this form?

CDitty mail at redhotsweeps.com
Thu Dec 7 00:03:59 CST 2000


Hello all.

For some reason, this form will not work right.  Does anyone see anything 
wrong with it?  It HAS to be something REALLY stupid and easy.

<center>
<form action="<? echo $PHP_SELF ?>" method="POST">
<table border="0" cellspacing="0" cellpadding="0" align="CENTER">
	<tr>
		<td align="center"><b>Your banner shown below</b></td>
	</tr>
	<tr>
		<td align="center"><? include('../banner.htm'); ?></td>
	</tr>
</table>
<br>
<textarea name="banner" cols="90" rows="20">
<?
$fp = fopen($file, "r");
$filein = fread($fp, filesize($file));
fclose($fp);

echo htmlspecialchars($filein);
?>
</textarea><br><br>
<input type="Submit" name="update" value="Update Banner"><input type="Reset">
</form>
</center>

Any info is appreciated.

Thanks

Chris





More information about the thelist mailing list