Justtechjobs.com Find a programming school near you






Online Campus Both


php-db | 2001041

[PHP-DB] $DOCROOT From: Sharmad Naik (sharmad <email protected>)
Date: 04/07/01

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
__    _  _      _  _
|_|_||_||_||\/||_|| \
_|| || || \|  || ||_/

-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe <email protected> For additional commands, e-mail: php-db-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>