Recent changes RSS feed
 

DNSDomainRule

Input validation rule that tests for a valid domain name with a valid DNS “A” record. If DNS services are unavailable data will not be considered invalid, possibly preventing data entry when connectivity is bad.

Example

$form->addRule (new DNSDomainRule ('fieldName'));

This example will check that the value in the field named “fieldName” has a valid DNS “A” record.

Additional Information

 
wact/api/validation/rule/dnsdomainrule.txt · Last modified: 2006/12/09 17:16
 
Hosting for this site donated by Procata PHP Development