I need a correction for my php codings of the following?
<pre><code>&lt;?php
$ip = $_SERVER['REMOTE_ADDR'];
$isptc = gethostbyaddr($ip);
$ispoh = preg_split("/./", $isptc);
$xy = count($ispoh);
$x = $xy - 1;
$y = $xy - 2;
$i = $xy - 3;
$ispp = $ispoh[$i];
$isp = $ispoh[$y] . "." . $ispoh[$x];
echo"&lt;b&gt;ip: $ip&lt;/b&gt;&lt;br&gt;";
echo"&lt;b&gt;isp: $ispp$isp&lt;/b&gt;";
?&gt;
</code></pre>

<p>In this above mentioned codings, i didn't get the output from $ispp and $isp...
If you got any answer from it.,Please advice me...Thanks in Advance...  </p>
