running php script as a user?

From: Date: Wed, 15 Jul 2009 15:49:38 +0000
Subject: running php script as a user?
Groups: php.general 
Request: Send a blank email to php-general+get-295425@lists.php.net to get a copy of this message
I have a page where a user authenticates, fills in some information in an HTML form, and then when clicking on the submit button, will need to execute a php schell script as that user to write some data to their /home/username directory. Since apache web server runs as the user nobody, how will I have that script execute as that user so that it can write data to their home directory?

« previous php.general (#295425) next »