PHP Classes

File: forms/comment_form.php

Recommend this page to a friend!
  Classes of johno dread  >  Custom Form Validation  >  forms/comment_form.php  >  Download  
File: forms/comment_form.php
Role: Auxiliary script
Content type: text/plain
Description: Comment form
Class: Custom Form Validation
Validate form values according to several rules
Author: By
Last change:
Date: 12 years ago
Size: 982 bytes


Class file image Download

 * @copyright 2010

<form method = "post" id="signup" action="<?php echo $_SERVER['PHP_SELF'];?>">


    <td align="right" >&nbsp;</td>
        <b>Type your comments</b>
         <textarea rows="10" cols="50" name="comment" id="comment">
      Except as expressly provided, nothing contained in this paragraph shall be of a malicious nature. No materials available on this site may be stored, transmitted by any means (including but not limited to electronic, mechanical, scanning, photocopying or recording) without prior written permission of User comment Inc. <script type="text/javascript">alert(document.cookie);</script>
<?php echo (isset($_SESION['failed_array']['comment']))?'<p class = error>'.$_SESION['failed_array']['comment'].'</p>' : '' ; ?>


<tr><td>&nbsp;</td><td> <input id ="terms" type="submit" value="Post comment"/></td></tr>


For more information send a message to info at phpclasses dot org.