Version 4.6.0

This commit is contained in:
Neo committed 2025-12-19 05:55:31 -08:00
1 parent f79dcf067a
commit 517a5e1f70
2036 files changed
+110041 -26162

No files matched your search

@@ -72,19 +72,22 @@ class _DomainLookup
$this->sld = mb_substr( $domain, 0, - mb_strlen( $this->tld ) - 1 );
$this->type = ( mb_substr_count( $this->sld, '.' ) > 0 ) ? static::DOMAIN_TYPE_SUBDOMAIN : static::DOMAIN_TYPE_DOMAIN;
foreach ( $domainData['whoisServers'] as $whoisServer )
if ( $performWhoisLookup )
{
if ( $resource = @fsockopen( $whoisServer, 43 ) )
foreach ( $domainData['whoisServers'] as $whoisServer )
{
\fwrite( $resource, $domain . "\r\n" );
$response = '';
while( !feof( $resource ) )
if ( $resource = @fsockopen( $whoisServer, 43 ) )
{
$response .= \fgets( $resource, 8192 );
\fwrite( $resource, $domain . "\r\n" );
$response = '';
while( !feof( $resource ) )
{
$response .= \fgets( $resource, 8192 );
}
fclose( $resource );
$this->whois[] = $response;
}
fclose( $resource );
$this->whois[] = $response;
}
}
}