G
Guest
I'm building a site using VS 2005, Expression, vb.net & asp.net 2.0
I want people to be able to upload text & photos - Accomplished!
I want people to be able to edit / delete text on the database - Acomplished!
I want people to be able to delete their uploaded photos from the file
system - Problem!
How do I go about deleting the photo someone has uploaded to a folder?
Say the actual file on the server is: ~/images/picture1.jpg
What i want to do is when someone deletes their entry on the database the
associated photo is also deleted from the file system.
(The database holds the image url in the following format:
~/images/imagename.jpg)
Any pointers would greatly appreciated!
I want people to be able to upload text & photos - Accomplished!
I want people to be able to edit / delete text on the database - Acomplished!
I want people to be able to delete their uploaded photos from the file
system - Problem!
How do I go about deleting the photo someone has uploaded to a folder?
Say the actual file on the server is: ~/images/picture1.jpg
What i want to do is when someone deletes their entry on the database the
associated photo is also deleted from the file system.
(The database holds the image url in the following format:
~/images/imagename.jpg)
Any pointers would greatly appreciated!