Path-Problem
| From: | Martin | Date: | Tue, 22 Aug 2000 09:31:40 +0000 |
| Subject: | Path-Problem | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-12908@lists.php.net to get a copy of this message | ||
Hi !
I'm on Linux / Apache PHP 4.0.1pl2. I got a problem with pathes:
My Web-Files are located at "home/MyName/Public_HTML/"
I can access them with "http://www.myserver.de/~Myname/ "
This works fine.
Now I need to access a directory with php, which is located at
"home/MyName/Public_HTML/test/directory/".
I tried to use
$DOCUMENT_ROOT."/test/directory".
This didn't work, because $DOCUMENT_ROOT is "/home/httpd/html" in
phpinfo().
How can I get a path to the directory
"home/MyName/Public_HTML/test/directory/" ? What does this
$DOCUMENT_ROOT mean ? I have no rights to change anything in configs on
this server.
Regards
Martin