Dave Vanauken wrote: > After doing authentication we can retrieve the username using > PHP_AUTH_USER > > wish to determin what that user's home directory is on the server from > within > 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 > setuid > restrictions... again for obvious reasons. > > thoughts?
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]