Justtechjobs.com Find a programming school near you






Online Campus Both


php-general | 2001072

Re: [PHP] Unlink Woes From: Sheridan Saint-Michel (webmaster <email protected>)
Date: 07/20/01

How can I find out if my server is in Safe mode? Do I have to call my Host
and ask them?

Sheridan

----- Original Message -----
From: <zerosumzero <email protected>>
To: Sheridan Saint-Michel <webmaster <email protected>>;
<php-general <email protected>>
Sent: Friday, July 20, 2001 11:25 AM
Subject: Re: [PHP] Unlink Woes

> on 7/20/01 11:48 AM, Sheridan Saint-Michel at webmaster <email protected> wrote:
>
> > Warning: Unlink failed (Permission denied) in
> > /home/www/foxjet/employees/admin.php on line 108
> >
> > Here's the code
> >
> > if($submit == "Delete")
> > {
> > for ($j = 0; $j < $numfiles; $j++)
> > {
> > $checkname = $files[$j];
> > if (${$checkname} = "on")
> > {
> > $temp = $pwd . $files[$j];
> > unlink($temp);
> > }
> > }
> > }
>
>
>
> I had this error to from unlink, it may be because your server is in "safe
> mode"
>
> Susan

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe <email protected>
For additional commands, e-mail: php-general-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>