You are here: Re: image manipulation from mysql « PHP Language « IT news, forums, messages
Re: image manipulation from mysql

Posted by nemo on 06/27/05 14:24

On Mon, 27 Jun 2005 14:06:59 +0300, "Parastatidis Nikos" <capamaru@quake.gr>
wrote:

>hi there
>
>i have some images on blob fields on mysql
>
>is there a way to manipulate them directrly from the image stream i get from
>mysql?
>or i have to write the stream on a file first?
>
>because most image functions of php take filenames as variables
>is there any way to manipulate images directly from mysql?
>
>Thanks in advance.
>
When you say "manipulate" them, what are you after, exactly?
I can't answer your question directly, but it's generally considered to be a
Bad Idea to store images in the database. Instead, store the image_filename
only, and control everything else via the output string.
Unless you have a truly horrendous number of images, I would suggest you
re-arrange your set-up as above.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация