Log in

View Full Version : PHP Photo gallery



T-B0N3
05-22-2006, 02:11 PM
I am having this school project in which I have to come up with somekind of ... really simple php script for a web gallery. All it has to contain is somekind of possibility of uploading the photos, and switching between them. and maybe ... a " click here to buy " link. So if anyone has any idea ... I would be gratefull...

cdwhalley.com
05-23-2006, 04:40 PM
A mySQL database is probably needed, unless you want to store the data in .txt files. Then you can have a page to get the filenames of the images out of the database and display 10 or something on each page, with links to go forward or back a page.
The 'buying photos' is a complication because it means you'd have to stop them from viewing the actual image (only show them thumbnails?) until they'd paid.
Just a few ideas, since that's what you wanted...
Link: php.net docs on uploads (http://uk2.php.net/manual/en/features.file-upload.php)

T-B0N3
05-24-2006, 07:29 AM
Uhmm ... I was actually talking about ... ordering prints. Sorry, it seems I haven't been clear enough. And ... no I do not have that much experience in mySQL ... I am starting to learn just about now.