how can I let users upload to my site?

karmaman's picture

He has: 82 posts

Joined: Nov 2003

Hi I am building a site which is for artists to display thier work, each artist has thier own page which is set out in tables and displays 7 images of thier work.
What I would like to do is to be able for them to change these images at any time without having to go throu me or have to use complicated third party apps.
Any ideas???????

Busy's picture

He has: 6,151 posts

Joined: May 2001

A database (to store the details) and HTML forms (to upload from) is all you need

karmaman's picture

He has: 82 posts

Joined: Nov 2003

cheers busy is there some where I can learn more about this cos I am sure its not as simple as it sounds?

Busy's picture

He has: 6,151 posts

Joined: May 2001

Most hosts don't allow text based databases so you need to find out what your host has on offer - ASP, Coldfusion, PHP etc and the databases MySQL, MSSQL etc

If your host allows PHP/MySQL places like hotscripts.com offers lots of ready made scripts or there are plenty of tutorial sites out there - depending on the (server side) language your host supports.

The script itself, is something like
get members to register
when signed in,
- allow to upload/delete images
- allow to order images

You may not (but you never know) find a script that meets all your needs, i.e. ordering the images, but shouldn't be hard to adjust somethign to suit.

Letus know what your host supports and we should be able to help you some more

He has: 1,758 posts

Joined: Jul 2002

Busy wrote: Most hosts don't allow text based databases so you need to find out what your host has on offer -

Seriously? I've never come across a host that doesn't allow the use of flat file databases. I mean... how can they stop you reading a text file? It's one of the basics of programming it would be daft to prevent it!

Andy

Abhishek Reddy's picture

He has: 3,348 posts

Joined: Jul 2001

andy206uk wrote: Seriously? I've never come across a host that doesn't allow the use of flat file databases. I mean... how can they stop you reading a text file? It's one of the basics of programming it would be daft to prevent it!

They monitor resource usage. Not only to flatfiles get large, but they can take a lot of proc time to handle. This doesn't go unnoticed. I've known one host to make a backup of the db, delete the original and email the web site owner... I guess other hosts work similarly ?

Busy's picture

He has: 6,151 posts

Joined: May 2001

It's a resource hog, most web hosts have a mention in their FAQ's saying no text based databases.
reading and writing to a file is different to running a site from file/s

karmaman's picture

He has: 82 posts

Joined: Nov 2003

Hi there my host offers php4 I dont know if this is usefull or not? as I am not familiar with php yet but I feel I am about to learn.
I would appreciate any further advice anyone can offer.

Busy's picture

He has: 6,151 posts

Joined: May 2001

Do you currently use phpnuke, phpbb, or anything like that on your site?

did you try hotscripts.com ?

timjpriebe's picture

He has: 2,667 posts

Joined: Dec 2004

I've had good experiences with Gallery. (http://gallery.menalto.com/modules.php?op=modload&name=News&file=index) It is 3rd party software, but once you've configured it, it's pretty straight forward.

Not sure if it would do exactly what you want to do, but it could at least come close. If you integrated it into something like PHP Nuke, it would be able to do that. I've done that on coolcollecting.com, though I don't let people have their own pages, just their own sections in Gallery.

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.