4images Forum & Community

General / Allgemeines => Programming => Topic started by: tahsilatetakmili on October 07, 2016, 07:42:14 PM

Title: how to use image in SQL
Post by: tahsilatetakmili on October 07, 2016, 07:42:14 PM
i need help. how i can SAVE image in SQL?? very thanks. for this site is needed. www.tahsilatetakmili.com (http://www.tahsilatetakmili.com)
Title: Re: how to use image in SQL
Post by: chamkani.net on October 10, 2016, 09:56:10 AM
It is not a good programing practice to save images in database. The simplest methodology is to save images with a reference from mysql.

For example you have a table of images with unique ID, you can use this ID along with some hash (for protection) and store in a folder, at the time of retrieval call the id with hash.
Title: Re: how to use image in SQL
Post by: ostadgraphic on January 31, 2017, 05:15:30 PM
The best way is through the embedded file upload and store it in a folder called Modules Php is by no database is a good case for it
Title: Re: how to use image in SQL
Post by: bahrampour on March 01, 2017, 06:36:08 PM
i need help. how i can SAVE image in SQL?? very thanks. for this site is needed. xxx: tahsilatetakmilixxx:
thank you