FORUM with upload of fotos

This is a discussion on FORUM with upload of fotos within the PHP Language forums, part of the PHP Programming Forums category; I programmed a forum on basis mysql/php. Next aim is that the forum user can upload fotos (*.jpg). These ...


Go Back   Usenet Forums > PHP Programming Forums > PHP Language

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-27-2004
Udo Pecher
 
Posts: n/a
Default FORUM with upload of fotos

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)


Reply With Quote
  #2 (permalink)  
Old 06-27-2004
Garp
 
Posts: n/a
Default Re: FORUM with upload of fotos


"Udo Pecher" <bahncompany@t-online.de> wrote in message
news:cbm3kf$k76$00$1@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


Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 08:55 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0