Re: Unlink Woes
| From: | zerosumzero@yahoo.com | Date: | Fri, 20 Jul 2001 16:25:13 +0000 |
| Subject: | Re: Unlink Woes | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-58935@lists.php.net to get a copy of this message | ||
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
--
susan@futurebird.com
http://futurebird.diaryland.com