validation extension
| From: | nick loeve | Date: | Sat, 14 Aug 2004 08:34:58 +0000 |
| Subject: | validation extension | ||
| Groups: | php.pecl.dev | ||
| Request: | Send a blank email to pecl-dev+get-1149@lists.php.net to get a copy of this message | ||
Hi,
I have the start of an extension for validation based on rules defined as xml. Each rule can currently validate GET and POST variables:
- validating their existence
- validating regular expressions
- integer ranges.
The extension defines a single function for the moment, and this function enforces a rule in a certain file.
The functionality is limited and the design not the greatest, but i have some different things i would like to be able to define in regards to automated validation from XML.
If someone gets a chance could have a look at the code and see what may be required in order for this extension to be granted a listing at pecl.
Thanks
Nick