domainvalidate Validate if domain is true or not

  1. Requirements
  2. Usage
  3. Resources

The Domain Validation extension is so simple it's just validate if the domain is true or false by checking the DNS

Requirements

checkdnsrr() function must work

Usage

simply as the url below DomainForm.php

array('domain', 'ext.validators.DomainValidator' , 'type'=>self::DNS_NS)

you just need to verify the constant

const DNS_A = 'A'; // this will check for the domain Dns A record
const DNS_MX = 'MX'; // This will check for MX Records
const DNS_NS = 'NS'; // This will check for the NS Records

Note: you can just use 'A' , 'MX' or 'NS' instead of self::DNS_NS

as you will see at the repository all the files will found controller , view , model and the DomainValidator extension at their right path just download and extract them in the protected directory

Resources

4 0
3 followers
417 downloads
Yii Version: 1.1
License: GPL-3.0
Category: Validation
Developed by: Mohamed Alsemany
Created on: Aug 6, 2012
Last updated: 12 years ago

Downloads

show all

Related Extensions