I need some help or suggestions for my gallery script!
Hey all.
I don't post here regurarly (i should tho..). But now I need some real help, i'm making myself a new site (link in my profile).
The idea is to have a mySQL database with the image data saved, not the image itself. The image will be uploaded to a folder named the same as the name, or with an id generated with some simple PHP ****.
My table is now like this:
`b_id` int(11) NOT NULL auto_increment,
`b_navn` text NOT NULL,
`b_info` text NOT NULL,
`b_exif` text NOT NULL,
`b_url` text NOT NULL,
b_id is the id of the picture
b_navn is the name
b_info is information about the picture
b_exif is the exif of the image (that I write manually)
b_url will be the url to the picture located in the subfolder with all of the photos/pictures added to the gallery.
So let's say that I add some work to my gallery, it will go like this;
Form with stuff -> Submitting -> Uploading picture to a folder on my server -> Adding all of the stuff I wrote in the form to the database.
How can I go through this without getting too much work? I have had a script like this that I made a couple of years ago, but I can't find it on my HDD.
Can anyone help? Give me suggestion how I _should_ do it?
Any help is appreciated!
Best regards,
Ole Marius
___________________
soy loco - jeg er gal - i'm crazy
