Oh Jesus, I'm on too many mailing lists. Ignore this

On Wednesday 13 February 2002 05:44 pm, you wrote:
> There are scripts like this all over the net, but here's one for you to
> save you searching time:
>
> use CGI qw(:standard);
>
> $| = 1;
> $i=param('fileuploadname');
>
> open(OUTPUT, ">/lists/$i") or die "cannot find output: $!";
>
> while ($bytes = read($i,$buffer,1024)) {
>    $bytesread += $bytes;
>    print OUTPUT $buffer;
> }
>
> close(OUTPUT);
>
> print header;
> print "<HTML>\n<BODY>"
> print "File Uploaded<BR>\n"
> print end_html;
>
> of course, the form will call this script in the form action, and
> 'fileuploadname' is the name of the field in your form where they browse to
> a file.  This script doesn't really have any error checking, it's just
> assuming everything works, except for the open statement.
>
> On Wednesday 13 February 2002 05:38 pm, you wrote:
> > Hi,
> > Does anyone know how to upload file using Web Browser as the interface?
> >
> > I want to do a web page, where you can click on a button, and then you
> > can browse the local directories of the person who are browsing the page,
> > and upload a selected file to the web server. Any pointer on how to do
> > that will be greatly appreciated.
> >
> > Thanks.
> > Reuben D. Budiardja

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to