Re: Unlink Woes

From: Date: Fri, 20 Jul 2001 17:03:38 +0000
Subject: Re: Unlink Woes
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-58943@lists.php.net to get a copy of this message
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@yahoo.com> To: Sheridan Saint-Michel <webmaster@foxjet.com>; <php-general@lists.php.net> 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@foxjet.com 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

« previous php.general (#58943) next »