Hello,
Simple question for this forum, we hope.
We have a PHP4 environment by our provider. With privileges we can access this environment from our account (linux, apache, php, mysql environment).
The webserver which runs PHP as a apache module, we are running under the nobody account.
From a PHP script in the webserver we want to move files from our own account (with privileges), not from the nobody account.
How can we switch account from within the PHP-script. suEXEC doesn't work because it's PHP-module in apache and safe-mode is set so exec, passthru and system doesn't work either.
We want to us the standard copy, rename and unlink commands within PHP, but with the privileges from our own account.
Anybody has as solution for this? Such an environment and demands are not that strange, or not?
With regards,
Gerald