what does posix_getlogin() return? perhaps you aren't really running the script as root...
On Wednesday 22 January 2003 08:05 pm, Urb LeJeune wrote: > Has anyone had success in changing the ownership of a directory > for within a PHP script? I am running as root an have tries > exec() > passthru() > `` back ticks > system() > > This works fine in a Perl script: > > `chown egovdemo:nobody /home/e-govdemo/htdocs`; > > They are back ticks. Same line in the PHP script does nothing. > > Any insight would be appreciated. > > Urb -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php