How to save RSS-feed to a database?

How to save photos accepted from user (through HTML form) to database?

  • In my website, i want to accept photos from users and save them to database(MS SQL) Can you please tell me, how can i do so? Also tell me how to retrieve those photos back from database to HTML page or JSP. Thank you.

  • Answer:

    Save the photo files as files on the site. Save the file names in the database. To retrieve them, just look them up in the database and do whatever you're doing with the files (displaying them, sending them to the user). Saving the actual file content in the database is doable, but not a good idea - it's inefficient, for one thing. (We handle about 3 million graphic files on one of our sites - as files.)

nikki at Yahoo! Answers Visit the source

Was this solution helpful to you?

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.