Deleting files

Discussion in 'PHP' started by Weirfire, Apr 14, 2005.

  1. #1
    Is there a way to delete files from the front end of a web page.

    A few of my clients have a catalogue where pictures are uploaded and when they go to delete an item the picture is still left sitting there in the images folder. Is there a way of deleting them at the same time?
     
    Weirfire, Apr 14, 2005 IP
  2. T0PS3O

    T0PS3O Feel Good PLC

    Messages:
    13,219
    Likes Received:
    777
    Best Answers:
    0
    Trophy Points:
    0
    #2
    T0PS3O, Apr 14, 2005 IP
  3. Weirfire

    Weirfire Language Translation Company

    Messages:
    6,979
    Likes Received:
    365
    Best Answers:
    0
    Trophy Points:
    280
    #3
    Sweet!

    Thanks TOPS. You're getting pretty fast at the old answering of programming queries. I'm going to start going around saying "TOPS IT" instead of "Google IT".

    By the way, I hit another brick wall with HSBC. Apparently to generate the orderhash I need to use the exec command to run the testhash.e C++ exectuable and my server hosts have disabled it for security reasons. After another 6 hours I found out that I can use a workaround using mhash and mcrypt. Only mcrypt is installed on the server and I'm waiting yet again to see whether they can install mhash.

    Somebody please buy me a drink when this is all over! :rolleyes:
     
    Weirfire, Apr 14, 2005 IP