shaneR 0 Posted March 19, 2007 Report Share Posted March 19, 2007 Hi everyone! my database site is now uploading files to my server and at the same time writting this file name and the users id to my database. What i need to do now is allow the user to access their own content and be able to delete this from the server and database.I have already been trying a few different methods but i just cant seem to get my head around it.Any code or advice would be appreciated, Thanks Quote Link to post Share on other sites
pulpfiction 0 Posted March 21, 2007 Report Share Posted March 21, 2007 First you would check the database to see the list of files uploaded by the user. then display that list of files and give the user option to delete. On particular file delete, remove file from server and row from database. If you already started coding post it. Delete file code: http://www.w3schools.com/asp/met_deletefile.asp Quote Link to post Share on other sites
shaneR 0 Posted March 23, 2007 Author Report Share Posted March 23, 2007 First you would check the database to see the list of files uploaded by the user. then display that list of files and give the user option to delete. On particular file delete, remove file from server and row from database. If you already started coding post it. Delete file code: http://www.w3schools.com/asp/met_deletefile.asp Thankyou after taking your comments into consideration im now able to perform the delete from both the server and database.Regards,Shane Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.