If you want to be able to view your Web Stats publicly, rather than behind a password protected section in cPanel, you can use the following PHP code to do so. Name the file (name.php) and place it in your public web dir:
?
$user = 'username'; //your cpanel username
$pass = 'password'; //your cpanel password
$domain = 'website.com'; //do not include 'http://' or 'www.'
/*
NO NEED TO TOUCH ANYTHING BELOW HERE
*/