Quote:
Originally Posted by category
I kinda dont understand lets say i set it up right on .php page but how do i use it on .html page?
|
Try this thread:
http://www.vbulletin.com/forum/showthread.php?t=3006
Or you can also google "parse php htaccess html" for more info.
Quote:
Originally Posted by smoknz28
I'm not a coder by any means....but is there a higher potential of being hacked or someone getting your database password using this code on pages?
|
Sort of but not really. PHP stuff get processed on the server so as long as you don't insert "echo $db_pw" or something along those lines a user won't see it. The only way someone can see it is if they have FTP or SSH access to your server, then they can just download the actual file and look at it. But if someone already has FTP or SSH access they can also go into your vB directory and download includes/config.php and get that info there.