I worked out the errors here, but it doesn't actually return an NT login for me... It just returns, "Your login is:03 00."
Code:
<?php
/*
Getting netbios info
CopyLeft 2002 (GNU GPL V2) by polo
*/
error_reporting(E_ALL);
/* get the ip of the client */
if (isset($_SERVER["HTTP_X_FORWARDED_FOR"]))
Leave a comment: