deleting image in code file

  •  05-26-2007, 7:23 AM

    deleting image in code file

     
    Hello
     
    I upload all the images to a folder with security prefix but I want to limit the number of uploads or space by user.
    I thinking of programming a button to replace an image in the folder with a new one so that when the user confirms a replacement the old image is automatically deleted.
    How/can I program in the code file to delete an old image, so that I am not relying on a user to delete files themselves?

     
    Another idea is can the current used folder size be filtered by security prefix?
    Thanks
    Scott
View Complete Thread