By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,965 Members | 1,702 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,965 IT Pros & Developers. It's quick & easy.

FORUM with upload of fotos

P: n/a
I programmed a forum on basis mysql/php. Next aim is that the forum user can
upload fotos (*.jpg). These fotos may have descriptions. User text and fotos
may give a normal new forum contribution. As a beginning it may be
sufficient that one contribution contains one single foto.
I would like to use simple scripts which I can optimize by myself. Moreover
I would need informations about what datafield I need just to configurate my
mysql table for the fotos. Or is it necessary to store all the fotos as
jpg-files?

Thank you very much for your support.

Udo Pecher out of HOF (Germany)
Jul 17 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a

"Udo Pecher" <ba*********@t-online.de> wrote in message
news:cb*************@news.t-online.com...
I programmed a forum on basis mysql/php. Next aim is that the forum user can upload fotos (*.jpg). These fotos may have descriptions. User text and fotos may give a normal new forum contribution. As a beginning it may be
sufficient that one contribution contains one single foto.
I would like to use simple scripts which I can optimize by myself. Moreover I would need informations about what datafield I need just to configurate my mysql table for the fotos. Or is it necessary to store all the fotos as
jpg-files?

Thank you very much for your support.

Udo Pecher out of HOF (Germany)


What you want to store is binary objects - look up the BLOB data type if
that's the way you want to go. Me, I store them as files so I can reach them
without using the web scripts, but whatever floats your boat. There may be
performance or security issues with either method, have a play.

http://dev.mysql.com/doc/mysql/en/BLOB.html

Garp
Jul 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.