Re: PHP unlink Permission Error

From: Date: Tue, 13 Jan 2009 17:12:04 +0000
Subject: Re: PHP unlink Permission Error
References: 1 2 3 4 5 6 7 8 9 10  Groups: php.general 
Request: Send a blank email to php-general+get-286238@lists.php.net to get a copy of this message
Alice, I see that you are using windows. For windows only the write permission for the folder and file isn't enough. You need to change the owner ship of the file as well so that u have privilege to delete. Do this , this might work: //Change the owner ship of the file to a non existent user in the system chown($directory."/".$file,666); unlink($directory."/".$file); Thanks, V

« previous php.general (#286238) next »