Shodor's XForms Engine, Shodorx Forms, runs in PHP5. It lets you create XForms, present them to users via a PHP-generated HTML page, then validate and use the input values that users submit through the forms.
XForms provides not only a quick and easy way to deploy forms. It also makes forms more secure and uniform: