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) [EMAIL PROTECTED] http://www.orbittechservices.com/ >>.>>.>>>.>>>>>.>>>>>>>>>.>>>>>>>> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]