flowingwindrider Posted July 20, 2007 Share Posted July 20, 2007 Is it possible to set an include_path to a location that is above the document_root? My document_root is home/username/public_html. I'd like to set the include_path to home/username/admin/include so that people cannot see source code that contains usernames and passwords to my databases. I believe my server is on a windows platform. Thanks! Quote Link to comment Share on other sites More sharing options...
benjaminbeazy Posted July 20, 2007 Share Posted July 20, 2007 use ini_set("include_path", "path1/:../path2:/etc"); http://us.php.net/manual/en/ini.core.php#ini.include-path Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.