Posted by fletch on 04/12/06 21:54
php should be doing this as the user the script is run as, which is not
so easy. passthru('whoami') would tell you on linux, no idea on win*
sorry. On linux there are various commands that will let you run a
program as a certain user which would take the php command as an
argument, I don't do windows.
I suppose I would do an fopen() on the server and try and get some info
on permissions from that.
good luck
[Back to original message]
|