Search the Community
Showing results for tags 'set path'.
Found 1 result
How Do I Get $Salt When It's In The Config.php File?
ChayaCooper posted a topic in PHP Coding HelpI know this is a really basic question, but I'm still a real php noob. I want to move $salt to the config.php file, but I'm not sure how to call the variable correctly so the page can use it. I tried this: require_once('config.php); $salt = loadSaltFromConfig(); I'm assuming that I need to declare loadSaltFromConfig somewhere, but I'm not quite sure what that would need to be.