MyBB Community Forums

Full Version: Stats on seperate website working but....
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am currently using the code from this thread:

http://community.mybboard.net/showthread...952&page=2

to have stats showing on my main website front page and it works a treat, BUT am I missing something or is not a bit dodgy having your sql username and password sat in the source of your website so all can see it?

I know I have probably missed something very obvious here but can someone point me in the right direction please? LOL

Thanks!
Your database username and password are also stored unencrypted in inc/config.php in MyBB. This is a limitation of the PHP being source-viewable.

However, public users on your site will not be able to see your username and password because any .php file is parsed by PHP and only what is 'echo'ed out will show to the browser.
oh brill thanks, exactly what I needed to know, I knew it would be something simple like that lol Thanks Dennis!