Perhaps Jay has a point, but I don't think so. To confirm this, you can probably check some variable in phpinfo, or you can run 'whoami'.
How are you running ls -ld? system? exec? Try backticks or shell_exec().
Tried popen() and backticks. I do not think that the other functions would change anything. `whoami` executed under php returns "apache", as we suspected.
Best regards, Hans Deragon -- Consultant en informatique/Software Consultant Deragon Informatique inc. Open source: http://www.deragon.biz http://facil.qc.ca (Promotion du libre) mailto://hans@xxxxxxxxxxx http://autopoweroff.deragon.biz (Logiciel)
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php