Please bottom post
> Create a form for upload (you may also use CGI.pm to create the form)
> like this:
>
> method="post">
>
>
>
>
>
> myperl.pl
>
> use CGI (:standard);
>
> my $file = param("file_to_upload");
> my $destination = "any_name.txt";
Please look at the preferre
Create a form for upload (you may also use CGI.pm to create the form)
like this:
myperl.pl
use CGI (:standard);
my $file = param("file_to_upload");
my $destination = "any_name.txt";
# Open a file handle to write the upload file.
Open (FH, ">/path/$destination");
while (<$file
>
> All,
>
> I am a total n00b to perl and have decided to write my own file upload
> script for a task I have to do. It is my intention to use CGI to
accomplish
> to allow users to upload a file through a webpage. I do not quite
understand
> the process, and thought it would be similar to the p