Jump to content

Have a question about Require()


rfwrangler

Recommended Posts

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.
Link to comment
https://forums.phpfreaks.com/topic/18651-have-a-question-about-require/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.