I'm quite new with this whole salting thing.
Let's say I store an admin password (crypt($pass,$salt))
in my config.php.
Now I don't suppose having a random string $salt
right below my (crypt'ed) password in the config.php file is a good idea, right?
I haven't found a single tutorial that could tell me where I should store my salt or how to actually use it in an intelligent way.
Also, should I store my admin login details in a database even though my admin is the only one?
PHP version 5.1
<?php
//Admininstration
$ad_uname = "church"; #username
$ad_pass = "sj50sl3ZE8ABM"; #password: crypt("blablah", $salt)
$salt = "sjoirjoewtointontont"; #salt
?>