|
"wots it all about"
Regular on 02/10/2008 at 12:48:38AM
Total Posts: 30 |
hiya, i'm building a website for a local youth football team that i sponsor, i'm going to include a gallery and was hoping to have a form where visitors (supporters) can upload there own photo's so i can add them to the gallery, can anyone help me or point me in the right direction please.
i'm new to web design, but would love to have the photo's uploaded to mysql database to allow the photos to be added to the gallery automaticly so i dont have to manually add them myself, but i'm still finding mysql a bit confusing. can anyone sort this for me or direct me to the info on the web that i need?
Alternatively can i us a simple script where a user can upload a photo to me via a php form so i can add it to the gallery manually?
many thx in advance.
|
|
|
|
|
|
Delicious Digg Reddit Facebook StumbleUpon
|
|
Tappet
"wots it all about"
Regular on 02/10/2008 at 4:52:46PM
Total Posts: 30
|
|
cheers for the advice nimco, not to difficult you say! lol, i'm just a beginner and it all seems simple yet more confusing to me at the moment. thx for your time, advice and links to help me out, its much appreciated. keep safe m8.
|
|
|
|
Nimco
"NULL"
Regular on 02/10/2008 at 8:53:40AM
Edited: 2/10/08 8:57 Total Posts: 4
|
|
There are plenty of free, off-the-shelf gallery packages available, such as:
- Gallery : http://gallery.menalto.com/
- Coppermine : http://coppermine-gallery.net/
One of these might be the easiest option if you are new to web design, however if you have a basic grasp of PHP/MySQL, then building a gallery isn't too difficult.
Depending on how simple you want to make it, you may just need one table to store the photo information, called Photos for example, and storing:
id
filename
title
description
uploaded_at
Have a good read through of this page: http://www.php.net/features.file-upload
That will explain how to handle file uploads in PHP. I would suggest that you store the photos in a folder on your server, and the photo information in the database. Don't try storing the photo in the database itself.
|
|
|
|
Tappet
"wots it all about"
Regular on 02/10/2008 at 12:48:38AM
Total Posts: 30
|
|
hiya, i'm building a website for a local youth football team that i sponsor, i'm going to include a gallery and was hoping to have a form where visitors (supporters) can upload there own photo's so i can add them to the gallery, can anyone help me or point me in the right direction please.
i'm new to web design, but would love to have the photo's uploaded to mysql database to allow the photos to be added to the gallery automaticly so i dont have to manually add them myself, but i'm still finding mysql a bit confusing. can anyone sort this for me or direct me to the info on the web that i need?
Alternatively can i us a simple script where a user can upload a photo to me via a php form so i can add it to the gallery manually?
many thx in advance.
|
|
|
|
|
 |
|