Document root
| From: | Mukta Telang | Date: | Tue, 12 Aug 2003 16:27:55 +0000 |
| Subject: | Document root | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-159389@lists.php.net to get a copy of this message | ||
Hi!
Is there any constant in php like $DOCUMENT_ROOT which holds path to the
"Document root" of the server?
I want to do something like this:
$path=$DOCUMENT_ROOT."/files/one.php";
echo "<a href=\"$path\">";
Thanks in advance,
Mukta