Jump to content

Archived

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

rfwrangler

Have a question about Require()

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.

Share this post


Link to post
Share on other sites
It all depends on where your current file is calling it from. 

Share this post


Link to post
Share on other sites

×

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.