RE: [PHP] Putting Include files outside of document root
| From: | David Smith | Date: | Fri, 17 Aug 2001 04:39:40 +0000 |
| Subject: | RE: [PHP] Putting Include files outside of document root | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-63129@lists.php.net to get a copy of this message | ||
If you upload your index.htm file into the /dir folder and it shows then
this is your document root folder. I would say if you place something in
/myname then that would be outside your document root.
-----Original Message-----
From: Tom Malone [mailto:tom@tom-malone.com]
Sent: Thursday, August 16, 2001 11:40 PM
To: PHP Users
Subject: [PHP] Putting Include files outside of document root
I know this will sound like a dumb question to most, but I am new to *nix
OS's -
If my document root is something like /home/myname/dir/ (as per phpinfo()),
and I put my include files in /home/myname/includes/, is that actually
outside of the document root, or is anything under /home/myname/ actually
the document root?
Tom Malone
Web Designer
http://www.tom-malone.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net