Mark invalid domains as registered
This commit is contained in:
parent
13bf4c039d
commit
2a094cfebd
1 changed files with 9 additions and 1 deletions
|
@ -60,7 +60,15 @@ class uk_handler
|
||||||
$r = format_dates($r, 'dmy');
|
$r = format_dates($r, 'dmy');
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
$r['regrinfo']['registered'] = 'no';
|
{
|
||||||
|
if (strpos($data_str['rawdata'][1],'Error for '))
|
||||||
|
{
|
||||||
|
$r['regrinfo']['registered'] = 'yes';
|
||||||
|
$r['regrinfo']['domain']['status'] = 'invalid';
|
||||||
|
}
|
||||||
|
else
|
||||||
|
$r['regrinfo']['registered'] = 'no';
|
||||||
|
}
|
||||||
|
|
||||||
$r['regyinfo'] = array(
|
$r['regyinfo'] = array(
|
||||||
'referrer' => 'http://www.nominet.org.uk',
|
'referrer' => 'http://www.nominet.org.uk',
|
||||||
|
|
Loading…
Reference in a new issue