Deleting File

From: Date: Thu, 21 Mar 2002 19:25:11 +0000
Subject: Deleting File
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-89579@lists.php.net to get a copy of this message
Hello All I am trying to build a text file, and delete it by using unlink function, but it always refuse to do so because of permission denied. It gives me an error as follows: Warning: Unlink failed (Permission denied) in d:\inetpub\wwwroot\cgi-bin\myfile.php on line 45 Actually, the file was created in the same page by using fopen, and then I want to delete when no longer used. I had tried a delete function, but not work. I am running PHP as a cgi on IIS 5, Win2K. If anyone can help. Pong

« previous php.general (#89579) next »