Location: PHPKode > projects > Maran php Blog > comments.php
<?
/*

Homepage.............: http://maran.pamil-visions.com / http://maran-emil.de
Released.............: 12.09.2006
Created by...........: Emil Maran (maran-emil.de)
Release type.........: Script PHP/mySQL
Price................: Freeware
Version..............: 1.0 Beta
Contact..............: hide@address.com
----------------------------------------------------------------------------------*/
?>
<?include('header.php');?>

<form action='commentsadd.php' method='post'>
	Your name: <input type='text' name='yourname' size=50 style='font-size:11px'> <br><br><br> 
	Your comment: <br><br>
	<textarea name='yourcomment' rows='8' cols='40' style='font-size:11px'></textarea><br><br>
	<input type='hidden' name='id' value='<?echo $_GET['id'];?>'><br>

	<?
		$key  = rand(90000,99999);
	?>

	Please enter the next code: <?=$key?>

	<input type='hidden' name='checkcode1' readonly value='<?=$key?>' style='font-size:11px'>
	<input type='text'     name='checkcode2' ><BR><BR>

	<input type='submit' name='submit' value='add your comment' style='font-size:11px'><br>
	<input type='hidden' name='action' value='yes'><br>

</form>


<?include('menu.php');?>
<?include('footer.php');?>
Return current item: Maran php Blog