Forum Moderators: mack
The client doesn't know anything about FTP or HTML, hence the reason for wanting to do it this way.
So basically, they go to page on the site, that only they know about, and on that page is a simple 'Browse' button. They then select which image they want and it then displays this image on a particular page for everyone to see.
Is this difficult to do? Any help would be greatly appreciated.
<form method="post" action="upload_images.cgi" enctype="multipart/form-data">
Image file:
<input type=file name=uploaded_image size=29>
<input type=submit value="Upload image">
</form>
Note that the enctype for the form needs to be "multipart/form-data".
As for the script to handle the upload, I have one in Perl, but I'm guessing that you use Windows, so it probably wouldn't do you much good. Sticky mail me if you could use it though, and I'll send it to you.
Gallery [gallery.menalto.com]
Tiki [tikiwiki.org]
Coppermine [coppermine.sourceforge.net]