PHP Classes

File: forms/comment_form.php

Recommend this page to a friend!
  Classes of johno dread   Custom Form Validation   ???   Download  
File: forms/???
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: 15 years ago
Size: 982 bytes
 

Contents

Class file image Download
<?php

/**
 * @copyright 2010
 */

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


<table>

<tr>
    <td align="right" >&nbsp;</td>
    <td>
        <b>Type your comments</b>
        <br/>
       
       
         <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>
   
      
   </textarea>
<?php echo (isset($_SESION['failed_array']['comment']))?'<p class = error>'.$_SESION['failed_array']['comment'].'</p>' : '' ; ?>


       
</td>
</tr>



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

</form>