Hello, Does anyone know of a way to find out the user ID of a particular username on this forum? For instance, I would enter into the script a username, it would then find out the user ID. Thanks
function fetch_userid($username) { preg_match( '/&u=(\d+)"/', file_get_contents('http://forums.digitalpoint.com/member.php?username='. rawurlencode($username)), $match ); return $match[1]; } echo fetch_userid('nico_swd'); PHP: