How do i include a file/folder that is outside the public_html folder. a folder that is not directly accessible from the web.
How do i include a file/folder that is outside the public_html folder. a folder that is not directly accessible from the web.
Well, in PHP, you could do this:
PHP Code:<?php
include('/path/to/file/'); //file doesn't have to be in /home/user/public_html/. Could be in /home/user/asdf/
?>
█ Neil Hanlon | x10Hosting Support Representative
█ Neil[at]x10hosting.com
█ I'm always happy to help. Just ask a question in Free Hosting
█ Terms of Service IRC
thanks