say i have c:\usr\local\public as my root directory. this is public and what is accessed through the url.
if i want to use ini files or anything that i dont want on the public directory and want it say in c:\usr\local\nonpublic i would use the /../nonpublic/file.ini to access it?
Try to set include path.
<?php $path = 'c:\usr\local\nonpublic'; set_include_path(get_include_path() . PATH_SEPARATOR . $path); $iniArray = parse_ini_file('config.ini');
You can set this
include_path in your php.ini too, so you do not need to do the
set_include_path every time.