“”) {
$posn=0;
do {
$posn++;
if ($a{$posn} == ‘,’) {
break;
}
} while ($posn < strlen($a));
$login_ip = substr($a,0,$posn);
echo "IP Address (Proxy) Logged: [“.$login_ip.”]
\n”;
echo “IP Address (Real) Logged: [“.$b.”]
\n”;
}
else {
$login_ip = $b;
echo “IP Address (Real) Logged: [“.$login_ip.”]
\n”;
}
//echo phpinfo();
?>