Download List

项目描述

The Validate_fields Class is an easy-to-use form
field validation PHP script. This class can be
used to validate database inputs or mail forms. It
can validate simple text, numbers, dates, urls,
email addresses, and the presence of HTML tags.
Invalid form fields will be reported inside a
detailed error message.

系统要求

System requirement is not defined
Information regarding Project Releases and Project Resources. Note that the information here is a quote from Freecode.com page, and the downloads themselves may not be hosted on OSDN.

2006-02-20 14:52
1.34

create_msg中的一个小的改进()方法可以之间切换的XHTML版本和简单的HTML版本。在数组中的一个关键领域被命名为“名”,并已经更名为“价值”,使之更加明确。在验证方法开头的变量声明被删除。因为一个复选框(电台)类型的值字段是唯一可用的元素,如果被选中,有新的功能,验证了这一元素。
标签: Major feature enhancements
A small improvement in the create_msg() method
makes it possible to switch between the XHTML
version and the simple HTML version. In the fields
array one key was named "name", and it has been
renamed to "value" to make it more clear. The
variable declarations at the beginning of the
validation method was removed. Because the value
of a checkbox (radio) type field is only available
if the element is checked, there are new functions
to validate this elements.

2006-02-20 14:47
1.33

在对HTML代码查询表达式模式并不好,但现在工作。该示例页修改,测试一般在一个textarea的文字(这是非常有用的测试HTML代码检查)。另外还有消息西班牙语翻译了。
标签: Minor bugfixes
The regular expression pattern of the check for
HTML code wasn't good, but is working now. The
example page was modified to test general text
inside a textarea (which is useful to test the
HTML code check). There are also Spanish
translations for the messages now.

2005-06-23 14:29
1.32

阿内的电子邮件模式小错误是固定的。丹麦翻译增加了。
标签: Minor bugfixes
A small bug inside the email pattern was fixed.
Danish translations were added.

2005-06-23 00:18
1.31

的电子邮件地址验证并不好。在正则表达式的模式已被更改,以验证最常见的情况。
标签: Minor bugfixes
The validation of email addresses was not good. The regex pattern has been changed to validate the most common cases.

2004-12-19 15:17
1.30

负整数现在进行验证。一种新的验证方法是补充,称为check_html_tags()。如果$ check_4html变量设置为true,各个领域将验证的HTML标签。网址为检查方法进行了优化和其他修改。它现在可以从HTTP验证协议(几乎)所有类型的网址。
标签: Major feature enhancements
Negative integers will now be validated. A new
validation method was added, called
check_html_tags(). If the $check_4html variable is
set to true, all fields will be validated for HTML
tags. The method for the URL check was optimized
and otherwise modified. It is now possible to
validate (nearly) all kind of URLs from the HTTP
protocol.

Project Resources