Jump to content


Photo

Image Column


  • Please log in to reply
2 replies to this topic

#1 mostafatalebi

mostafatalebi

    Advanced Member

  • Members
  • PipPipPip
  • 199 posts

Posted 19 November 2012 - 01:32 PM

Hello everybody

I have heard that storing images in MYSQL is not a good job. Is it a true story? If yes then what should be done with user's avators and uploads.
??

Thanks
Visual Effects Programming

Autodesk Maya, Autodesk Mudbox, Nvidia Mental Images Mental Ray, Adobe Photoshop, Adobe Illustrator, Adobe After Effects, CorelDraw

#2 Pikachu2000

Pikachu2000

    I hate everything.

  • Staff Alumni
  • 11,378 posts
  • LocationFuture Independent Republic of Texas
  • Age:106

Posted 19 November 2012 - 03:06 PM

In my opinion, a database is for data, and the filesystem is for files. Store the image file in the filesystem, and the path to it in the database.

Edited by Pikachu2000, 19 November 2012 - 03:07 PM.

"Java" is to "Javascript" about the same as "fun" is to "funeral".

Why $_SERVER['PHP_SELF'] is bad. || Why ORDER BY RAND() is bad || Every problem can be solved with rm -rf *

Random Quote: "

#3 mostafatalebi

mostafatalebi

    Advanced Member

  • Members
  • PipPipPip
  • 199 posts

Posted 19 November 2012 - 11:20 PM

nice opinion
Visual Effects Programming

Autodesk Maya, Autodesk Mudbox, Nvidia Mental Images Mental Ray, Adobe Photoshop, Adobe Illustrator, Adobe After Effects, CorelDraw




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

Cheap Linux VPS from $5
SSD Storage, 30 day Guarantee
1 TB of BW, 100% Network Uptime

AlphaBit.com