Jump to content


Have a question about Require()

  • Please log in to reply
1 reply to this topic

#1 rfwrangler

  • New Members
  • Pip
  • Newbie
  • 9 posts

Posted 25 August 2006 - 04:12 PM

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:
require './domains/rfwrangler.frih.net/private_html/file.php'

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.

#2 ober

  • Staff Alumni
  • Advanced Member
  • 5,337 posts
  • LocationEast Coast, USA

Posted 25 August 2006 - 06:16 PM

It all depends on where your current file is calling it from. 

Info: PHP Manual

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users