rfwrangler Posted August 25, 2006 Share Posted August 25, 2006 I am working on this website and I want to put all of my include and required files in the private_html folder on my host. I think that the path that I would need to use for these files is:[code]require './domains/rfwrangler.frih.net/private_html/file.php'[/code]Is this correct and will this work for the include()function in this way as well.The path the the public_html is the same but public_html instead of private_html.I am not sure if this is neccesary but I thought that it might add better security for the site. Quote Link to comment https://forums.phpfreaks.com/topic/18651-have-a-question-about-require/ Share on other sites More sharing options...
ober Posted August 25, 2006 Share Posted August 25, 2006 It all depends on where your current file is calling it from. Quote Link to comment https://forums.phpfreaks.com/topic/18651-have-a-question-about-require/#findComment-80420 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.