You are here: Re: good php tutorial on placing images in mysql db on the net? « PHP SQL « IT news, forums, messages
Re: good php tutorial on placing images in mysql db on the net?

Posted by laptop on 05/24/05 11:21

<snip>first store the images in the database<snip>

Why? why not just upload all images to the same (set of) directories and
(simultaneously) store the filename and any other relevant information?

My question sounds rhetorical but it isn't. I'd genuinely like to know the
pros and cons of the method naft (kind of describes). Does it make a
difference if images are being uploaded over the Web rather than directly by
the database administrator? Also, does anyone know of a decent tutorial on
setting up a site of the kind that I describe?

thanks


"Norman Peelman" <npeelman@cfl.rr.com> wrote in message
news:_fuke.66531$IO.34728@tornado.tampabay.rr.com...
> "naft" <xman(removespa-m-)@naft(removespa-m-).be> wrote in message
> news:Tplke.99074$HH1.5647396@phobos.telenet-ops.be...
>> i am looking for a good tutorial on how to place (links to) images in a
>> mysql database.
>> anyone a good address?
>> my major problem is finding out what the url of the db is, in order to
> have
>> correct paths to the image to put in the db
>> thanks
>>
>>
>
> You are looking in the wrong direction... there is not a 'URL' for paths
> to the images in the database. You have to first store the images in the
> database, then write a script that will retrieve the desired image when
> requested. What is your knowledge of PHP and databases?
>
> Norm
> --
> FREE Avatar hosting at www.easyavatar.com
>
>

 

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

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