Re: Deleting Files

From: Date: Sat, 08 Mar 2003 18:31:22 +0000
Subject: Re: Deleting Files
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-138769@lists.php.net to get a copy of this message
At 19:14 08.03.2003, Vernon said: --------------------[snip]-------------------- >I need to have files that exist within a folder on my server based on the a >MySQL record that contains it's name. What command would I be looking for in >the php functions list? Anyone? --------------------[snip]-------------------- Sorry, just saw you wanted to DELETE the files... It's "unlink($filename);" Note you need to have write access to the directory (not only the file) to delete it. -- >O Ernest E. Vogelsinger (\) ICQ #13394035 ^ http://www.vogelsinger.at/

« previous php.general (#138769) next »