How do I configure phpFanList ?

When installing phpFanList, you need to specify the database settings in the config.inc.php file before phpFanList can function correctly viagra online. For first time users, this can be a bit challenging, so here is a little example of how it might look .

This is how the default config.inc.php file looks like:

<?php
$db_host = 'localhost'; $db_name = ''; $db_user = ''; $db_pass = ''; $table_name = 'phpfanlist'; ?>

This is how a functional config generic cialis.inc generic cialis.php file may look like:

<?php
$db_host = 'localhost';
$db_name    = 'fanlistings';
$db_user    = 'database_user';
$db_pass    = 'database_password';
$table_name = 'gummybears';
?>

Now this might require some explaination cialis.

In the example you have a MySQL database on your webserver that has a user ($db_user) called "database_user" with a password ($db_pass) that's "database_password". On some servers, you get those values when you sign up, on other servers, you can make your own user viagra online.

The host of the database ($db_host) is "localhost" in our example. This is the name of the machine the MySQL database is on viagra online. Now this can be a name or a domain name cheap cialis. However on most systems (like 99% of the shared hosting) the MySQL database is on the same machine as your webserver, so you can use "localhost" which means don't look on the network but on the same machine.

The name of the database ($db_name) is a bit like the name and password. On some servers you get it provided for you viagra online. On other servers you get the ability to create your own buy cialis. Now it's good practice to choose a meaningful name, like in this case "fanlistings". This makes it clear that in this database you're going to store fanslistings.

Finally the name of the table ($table_name) where you're going to store the actual members in. This is the only thing that doesn't have to exist. The installation will make it for you cheap cialis. In fact, if it exists already, you can't install phpFanList into it. If the existing table is a previous installation of phpFanList, it will ask if you want to update the installed version. Now what name should you choose. Try to find a meaningfull one. In our example we're making a fanlisting about gummybears, so it's a good choice for a database name.

Note that all those values shouldn't contain any special characters, try to stick with A-Z, 0-9 and _