PDA

View Full Version : configuration files


charlesp
01-28-2008, 12:20 AM
I have a configuration file for connecting to a database above the public_html folder. In the file that needs the configuration file I reference the config file with an absolute url such as '/home/XXXXX/includes/lfile name.' Is this insecure and if it is what is the correct way to call a file from above the public_html directory? The file using the configuration file is in a subfolder below public_html, so '../includes/config.php' wont work.

charlesp
01-29-2008, 08:16 PM
I really need help with this.:o