<[EMAIL PROTECTED]> wrote:
> on 7/20/01 11:48 AM, Sheridan Saint-Michel at [EMAIL PROTECTED] wrote:
>
> > Warning: Unlink failed (Permission denied) in
> > /home/www/foxjet/employees/admin.php on line 108

<snip>
> I had this error to from unlink, it may be because your server is in "safe
> mode"
</snip>

If you're running PHP as an Apache module it runs as the owner that Apache
runs as and can only unlink files owned by that user unless the file you are
trying to unlink is world-writable.  This is a good thing.  Otherwise you
could delete any file on the server.  If you're running PHP as a CGI then it
runs with the privileges of the user who owns the CGI file.

--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to