4 Replies Latest reply on Sep 26, 2006 10:45 PM by weswhite7

    Deleting Images without using cfdirectory

      All my stuff is obviously stored in a database, and I am outputting it. Along with that is the link for an image which is on the server. When I go to my page to delete entries from the database, it does not delete the image. I know I can do this with a form using cfdirectory, but there is no way for me to link the two as far as I know. How can I say parse the link from the database to get the filename only, so after the news/xxxx.extension and then I can send that to the query to do cffile delete. Any help would be great!

      I hope that made sense though. If not post something and I can rephrase it and maybe throw some code in.