PHP HTML Form Generation and Validation Class is an HTML form generation and validation class. It provides an easy and intuitive way to handle both HTML form design (based on templates) and basic server-side form validation. Custom validation (both server-side and client-side) can also be implemented very easily. It provides all of the basic controls available in HTML form, including text fields, buttons, image controls, hidden fields, file upload controls, a CAPTCHA control, and a date picker.
| Tags | Software Development Libraries php classes |
|---|---|
| Operating Systems | OS Independent |
| Implementation | PHP |
Recent releases


Changes: This release adds heavy XSS (cross site scripting) injection prevention. Previously, some accented characters were scrambled upon submission as htmlentities() was being called without the UTF-8 argument. An error has been fixed where, when having multiple forms on a page, all forms were processed upon submission.


No changes have been submitted for this release.


Changes: For the 'select' control, if options were specified having literal keys and the 'mandatory' rule was set, the control would never pass validation. This has been fixed. A major security issue was fixed where an attacker could inject arbitrary HTML and/or JavaScript code along with the submitted data. Now all the submitted data is passed through the htmlentities() function and, if magic_quotes are on, is stripslashed. File uploads were not working, because neither "enctype" nor MAX_FILE_SIZE were set upon the rendering of the form.


Changes: This release fixes several major bugs from the first beta. In Firefox, trying to open the date picker would produce a JavaScript error, and the icon for opening the date picker was not visible.


No changes have been submitted for this release.