I recently installed a php script for my fanlistings which works by the way and is a good script called Php Fanbase Script, What I am worried about is someone hacking into the config file and logging into my account and getting my info.
Here's the script:
Is there someway to hide the config files so no one can dowload or get to those files? And in so how? Also in it asked for the database name and I noticed that the database uses you username can that be taken off and just have like the name when you named your database like for eample: msdkfj_mysite?
<?
// ------------->SITE VARIABLES
$sitename ="Your Clique's Name"; //This is used in the email sent to approved members, so it might be useful to include the clique subject, like Name: The Subject Clique
$siteurl ="http://yourclique.com"; //The url to your clique (no trailing slash!)
$adminemail ="you@******"; //Your email address.
$adminname ="Your Name"; //For use in the email signature sent to approved members.
$admincollective ="http://******"; //Your site collective. This will be in the signature of the email sent to approved members. If you don't have one, or don't want to include one in the email, delete the text in between the "".
// ------------->CUSTOMIZATION VARIABLES
//These are the header and footer files this script uses. Feel free to change the header and footer files themselves by opening them into your HTML program, or change the paths below to choose a different header or footer to use.
$header ="header.inc";
$footer ="footer.inc";
//The username and password needed to access the Admin Panel
$admin_username ="******"; edited out
$admin_password ="******";
//Do you want to add a favorite (or other additional peice of information) field to your clique? If you put in Y for this, an extra field will be visible on the joining form, where people can fill in their favorite thing about your clique. For example, for a movie, you might ask them for their favorite character. For a musician, you could ask for their favorite song.
$enablefave ="N"; // Fill in either Y or N (uppercase!)
//What do you want to ask your members? For example, if your clique is for a movie, and you want to ask for their favorite character, fill in 'Favorite Character' here. If you filled in N above, leave this blank.
$whatfave ="";
$emailnotify ="Y"; //Receive email notifications when someone joins? You can fill in either Y or N.
$membernotify ="Y"; //Send your members an email when they've been approved by you? Fill in either Y or N.
//How would you like to have the members sorted on the All and Country pages?
$allsort ="name"; // choose either id (sorts in order of join date) or name (alphabetically)
// ------------->DATABASE VARIABLES
//The name of the tables in the MySQL database. If you want to use this script for more than one clique, be sure to change the names to someting unique for each clique.
$table ="clique"; //your main members table
$table_u ="clique_u"; // the updates table
// information needed to connect to mysql
$dbhost = "localhost"; // usually this is localhost but if it doesn't work, check with your hosting provider
$dbname = "dbname"; // the name of the databse you want to put the phpClique tables in
$dbuser = "username"; // your MySQL username (must have access to database above)
$dbpass = "password"; // your MySQL password