Dave Vanauken wrote:
> After doing authentication we can retrieve the username using
> wish to determin what that user's home directory is on the server from
> PHP... obviously working the
> 'pw usershow '.$PHP_AUTH_USER
> through exec results in permission problems (web uid not allowed to run PW
> for obvious reasons)... and shelling out to a script results in similar
> restrictions... again for obvious reasons.
If all else fails, isn't that in /etc/passwd?...
Read /etc/passwd and find the user and there is their home dir.
Like music? http://l-i-e.com/artists.htm
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]