unlink failed message in page but files are removed!

From: Date: Mon, 19 Mar 2001 17:55:34 +0000
Subject: unlink failed message in page but files are removed!
Groups: php.general 
Request: Send a blank email to php-general+get-44602@lists.php.net to get a copy of this message
I have a script that cleans up old files with the unlink () command. On the page that runs the script I get; Warning: Unlink failed (Permission denied) in /public/tbldr/public/demo/request/step2.php4 on line 152 However when I check to see if the files are removed, there gone! It appears they're unlinking even though I'm getting a warning they are not unlinking. I have another script on the same page that will unlink a file if it's too big and it works fine. The only difference, on the script that works I'm deleting files that I am trying to upload at that moment. On the script that doesn't work, I query the database to find files that were posted by others which are 24 hours old and then delete them. Thanks in advance. >>.>>.>>>.>>>>>.>>>>>>>>>.>>>>>>>> Tom Beidler Orbit Tech Services 805.682.8972 (phone) 805.682.5833 (fax) tom@orbittechservices.com http://www.orbittechservices.com/ >>.>>.>>>.>>>>>.>>>>>>>>>.>>>>>>>>

« previous php.general (#44602) next »