if ($bbuserinfo['userid']!=0) { $username1=ereg_replace("[^A-Za-z0-9_.@-]", "_", $bbuserinfo['username']); }