Hi,
Just a quick question... What user does php run as on linux? Is it the Apache user? Is there some way to tell? I need to be able to set a directory so that only PHP can access it.
You can figure who apache/php is running as by using shell_exec() on the system
command 'whoami':
echo shell_exec('whoami');
HTH,
Curt
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php