Delete Files on Server with PHP

From: Date: Thu, 30 Aug 2001 15:20:09 +0000
Subject: Delete Files on Server with PHP
Groups: php.general 
Request: Send a blank email to php-general+get-65296@lists.php.net to get a copy of this message
I have checked the archives but have not been able to find a suitable answer. I have a couple of scripts that allow my users to upload files to the server. At the same time, it logs an entry in a MySQL database that links the temp file name created on the server to a name that makes sense for the user. Here is the problem: When a user deletes a file from their area, it only deletes in the MySQL database. It does not remove the actual file from the directory on the server. How can I send a command to remove it from the server within PHP? Thanks, Paul ________________ Paul A. Cohen www.networkoil.com 713.590.1422

« previous php.general (#65296) next »