[H-GEN] finding which user executes a script

Greg Fairbrother greg at greg.hm
Wed May 14 01:28:50 EDT 2003


[ Humbug *General* list - semi-serious discussions about Humbug and     ]
[ Unix-related topics. Posts from non-subscribed addresses will vanish. ]

Sorry if this is a dum question, but how do I find out what user is
executing a php script, It's to do with my previous post about php and file
uploading, if I know what user is executing the php script (eg. apache or
nobody) then I could add them to the group who owns the directory, and just
give that group write permissions?  I just don't know how to find out who
the user is.

Thanks

Greg



_______________________________________
Greg Fairbrother          www.aus-e.com
                          Web Hosting

Email: greg at aus-e.com
Phone: 07 33 711 309
Mobile: 0421 006618


--
* This is list (humbug) general handled by majordomo at lists.humbug.org.au .
* Postings to this list are only accepted from subscribed addresses of
* lists 'general' or 'general-post'.  See http://www.humbug.org.au/



More information about the General mailing list