[NTLUG:Discuss] Uploading to a web site.
Stuart Johnston
saj at thecommune.net
Tue Dec 19 14:12:16 CST 2006
You might want to use a java applet like jupload.sf.net for the client
side. This makes it a lot easier to upload multiple files at once,
compared to an html form. Then you need a script on the server, php,
perl, whatever, that will handle the upload.
If you want to keep it simple, you can use Perl's CGI module to handle
both the front-end and the back-end.
http://search.cpan.org/~lds/CGI.pm-3.25/CGI.pm#CREATING_A_FILE_UPLOAD_FIELD
steve wrote:
> I need to allow users to upload photos to my web site - but I can't
> figure out how that's done. Clearly a PHP or CGI program can't reach
> down into the end user's machine to grab a file - but a Java or
> JavaScript program running on the client doesn't have the necessary
> privilages to write stuff onto the server's disk drive.
>
> I could maybe do it by setting up a Wiki - but I need more control over
> the process than that.
>
> How do I make this happen? The server is (of course) a Linux box but
> the client's machine could be anything.
>
> Is there a nice simple example someplace?
>
>
> _______________________________________________
> http://www.ntlug.org/mailman/listinfo/discuss
More information about the Discuss
mailing list