Deleting a file
Posted: Tue May 18, 2004 12:42 am
Maybe I am missing something simple here, but unlink($file) isn't working for deleting files. Where do a specify a directory here? This is for an upload script... people can upload files to a dir, it puts the file name into a mysql DB, they can then delete the file. It properly removes the respective name from the mysql DB when doing this, but how can the actual FILE be deleted? I'm sure i'm missing something simple. Thanks.