diff --git a/example.php b/example.php
index 7f2be5e..a758eb8 100644
--- a/example.php
+++ b/example.php
@@ -63,7 +63,8 @@ if (isSet($_GET['query']))
$result = $whois->Lookup($query);
$resout = str_replace('{query}', $query, $resout);
-
+ $winfo = '';
+
switch ($output)
{
case 'object':
diff --git a/src/whois.client.php b/src/whois.client.php
index ec008c6..31e9308 100755
--- a/src/whois.client.php
+++ b/src/whois.client.php
@@ -287,8 +287,12 @@ class WhoisClient {
* Convert html output to plain text
*/
function httpQuery ($query) {
- $lines = @file($this->Query['server']);
+ //echo ini_get('allow_url_fopen');
+
+ //if (ini_get('allow_url_fopen'))
+ $lines = @file($this->Query['server']);
+
if (!$lines) return false;
$output = '';
diff --git a/src/whois.gtld.publicdomainregistry.php b/src/whois.gtld.publicdomainregistry.php
index dab7981..2ad5732 100644
--- a/src/whois.gtld.publicdomainregistry.php
+++ b/src/whois.gtld.publicdomainregistry.php
@@ -38,6 +38,7 @@ class publicdomainregistry_handler
{
$items = array(
'owner' => 'Registrant:',
+ 'owner#' => '(Registrant):',
'admin' => 'Administrative Contact',
'tech' => 'Technical Contact',
'domain.name' => 'Domain name:',
diff --git a/src/whois.uk.php b/src/whois.uk.php
index a173947..e77c1ac 100644
--- a/src/whois.uk.php
+++ b/src/whois.uk.php
@@ -52,7 +52,7 @@ class uk_handler
'domain.changed' => 'Last updated:',
'domain.expires' => 'Renewal date:',
'domain.nserver' => 'Name servers:',
- 'domain.sponsor' => "Registrant's agent:",
+ 'domain.sponsor' => 'Registrar:',
'domain.status' => 'Registration status:',
'' => 'WHOIS lookup made at'
);
@@ -64,7 +64,7 @@ class uk_handler
$r['regrinfo']['owner']['organization'] = $r['regrinfo']['owner']['organization'][0];
$r['regrinfo']['domain']['sponsor'] = $r['regrinfo']['domain']['sponsor'][0];
- unset($r['regrinfo']['domain']['nserver'][count($r['regrinfo']['domain']['nserver']) - 1]);
+ //unset($r['regrinfo']['domain']['nserver'][count($r['regrinfo']['domain']['nserver']) - 1]);
$r['regrinfo']['registered'] = 'yes';
$r = format_dates($r, 'dmy');
diff --git a/src/whois.utils.php b/src/whois.utils.php
index 26b239d..58111b1 100755
--- a/src/whois.utils.php
+++ b/src/whois.utils.php
@@ -169,7 +169,7 @@ class utils extends Whois {
// Add bold field names
- $out = preg_replace ("/(?m)^([\w\s-]+:)/", '$1', $out);
+ $out = preg_replace ("/(?m)^([\w\s-&;]+:)/", '$1', $out);
// Add italics for disclaimer