$DOCROOT
| From: | Sharmad Naik | Date: | Sat, 07 Apr 2001 18:38:37 +0000 |
| Subject: | $DOCROOT | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-8338@lists.php.net to get a copy of this message | ||
HI,
If i say header("Location:http://$HTTP_HOST/$DOCROOT/say.htm");
the file displayed will be http://localhost/say.htm
but now say i have a user called php
and that user wants to display the following
http://localhost/~php/say.htm
specifying equivalent variable like $DOCROOT
what do i give inplace of $DOCROOT ?.I tried giving $HOME but didn't work.
Regards,
--
The secret of the universe is @*&í!'ñ^#+ NO CARRIER
__ _ _ _ _
|_|_||_||_||\/||_|| \
_|| || || \| || ||_/