Categories

Updated: 11/28/2001

PHP Form Validation Class

Form_Validator Class is a PHP object that can be used to validate the presence of HTML form data. By &"validating&", the function simply checks if a variable is NOT NULL. The class is intended to be called AFTER the end-user has submitted an HTML form. The class is first initiated, then the validate_fields function is called by passing the field names of all the required form fields. If any of the variables (field names) are NULL the function returns FALSE, along with an error message of which fields are null. If all the variables are NOT NULL, the function returns TRUE. Form_Validator Class has the ability to check multiple fields at once, and check that at least one field in a group of many has been filled in by the end-user (&"Please enter your Home Phone OR your Work Phone&").
Similar Scripts for "PHP Form Validation Class"

User-Agent block

User-Agent block is a PHP script that allows you to ''block'' user-agents you specify, such as e-mail harvesting programs, and user-agents designed to copy your website. The script will detect the user-agent, and return a page that you can ...

netwarriors foundation

This is a development site for site_foundation, a &"post-your-story-here&" type application written in PHP using MySQL on backend not unlike slash or Thatware. Its main difference lies in its backend, user levels to determine who se...

Sockhead

Have you any idea why your network program is not giving you the right answers, or how come you just got redirected? Sockhead enables you to send a simple HTTP/1.1 request to a server and view the response from the other server. Sockhead allows you t...

Cached Fast Template

Cached Fast Template is a template system for PHP that implements caching for PHP''s FastTemplate module. Features include: Supports lock files, so long operations will not allow pages to be served only &"half&" cached, Allows ...

Htgroup

This class facilitates the maintenance of htgroup files, used to do Basic Authentication on a web server. This class assumes PHP v3.0 or better and Apache 1.3.3 or better. Htgroup file format should conform to the httpd spec (ie. groupname: user user...
©2003-2008 jCay.com