Menu

#128 stream_select warning

open
nobody
None
5
2012-08-14
2012-08-14
Mike Lynn
No

///my code - rerunning it seems to help it get past but it feels like once it gets a certain type of timeout its hosed.

$whois = new Whois();
$whois->deep_whois = false;
$result = $whois->Lookup($domain);
if(isset($result['regrinfo']['registered'])){
$domainReg = $result['regrinfo']['registered'];
if($domainReg == 'yes'){
return true;
}
}else{
return false;
}
return false;

//the error

Warning: stream_select(): No stream arrays were passed in /var/www/html/default/m/classes/phpwhois-4.2.2/whois.client.php on line 197

987.1172 3773932 5. WhoisClient->GetData() /var/www/html/default/m/classes/phpwhois-4.2.2/whois.main.php:259
987.1172 3774016 6. WhoisClient->GetRawData() /var/www/html/default/m/classes/phpwhois-4.2.2/whois.client.php:237
998.0842 3775184 7. stream_select() /var/www/html/default/m/classes/phpwhois-4.2.2/whois.client.php:197

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.