show user and home directory

From: Date: Wed, 21 Nov 2001 16:28:23 +0000
Subject: show user and home directory
Groups: php.general 
Request: Send a blank email to php-general+get-75409@lists.php.net to get a copy of this message
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? Dave

« previous php.general (#75409) next »