Mimi Cafe wrote:
I need to write a cgi program to enable our users to upload files using the
web browser,
Okay. As Owen mentioned, the module CGI::UploadEasy may be helpful.
but I am not sure how to figure out the type of file the user
wants to upload (e.g text or binary file). Can CGI.pm acc
On 20 Jun 2008 at 11:43, Mimi Cafe wrote:
> I need to write a cgi program to enable our users to upload files using the
> web browser, but I am not sure how to figure out the type of file the user
> wants to upload (e.g text or binary file). Can CGI.pm accomplish this
> automatically?
>
> Any sugg
> I need to write a cgi program to enable our users to upload files using the
> web browser, but I am not sure how to figure out the type of file the
user
> wants to upload (e.g text or binary file). Can CGI.pm accomplish this
automatically?
>
> Any suggestions welcome.
>
> Mimi
>
I suggest you g
I need to write a cgi program to enable our users to upload files using the
web browser, but I am not sure how to figure out the type of file the user
wants to upload (e.g text or binary file). Can CGI.pm accomplish this
automatically?
Any suggestions welcome.
Mimi
> Hi all,
>
> Hoping you guys can provide me some place to start troubleshooting.
Here's the situation. I have created a file upload form which then just
prints the contents of the file out. Basically just copied the CPAN
instructions for testing purposes.
>
> I am able to do this successfully on
Hi all,
Hoping you guys can provide me some place to start troubleshooting. Here's the
situation. I have created a file upload form which then just prints the contents of
the file out. Basically just copied the CPAN instructions for testing purposes.
I am able to do this successfully on my test
Bruce,
Connie's point is important. bruce2.pl shebang line (the first line in
the script) must match your perl install because Apache uses it to determine
what program to use to run the script. Also any references to files or
folders in that script must be available on your server. I suspect t
ginal Message -
From: "Bruce Ambraal" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, August 02, 2002 10:23 PM
Subject: Re: To upload file from client to Appache server (WNNT)
> Check out the errors I am getting when I run the bruce.html on my
> Ap
Check out the errors I am getting when I run the bruce.html on my
Appache
(Apache/1.3.26 Server at 165.25.207.246 Port 80)
my Perl have been install in dir c:/program files/perl/bin.
When I view any Perl program via the web then I get the same errors.
What am I doing wrong.
Please help
err
do it in many ways."
Rajeev
- Original Message -
From: "Konstantin" <[EMAIL PROTECTED]>
To: "Rajeev Rumale" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Monday, September 10, 2001 4:46 PM
Subject: Re: upload file
> Thank you very much. N
sday, September 20, 2001 9:07 AM
Subject: Re: upload file
> Check out your form tag in the html page.
>
> does all the params set properly it should be something like this.
>
> enctype="multipart/form-data" method="POST">
>
> The last param "enctyp
al Message -
From: "Konstantin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, September 09, 2001 7:35 PM
Subject: upload file
Hi.
I'm trying to upload file with the next code:
#!/usr/bin/perl
use DBI;
use CGI qw/:standard/;
no strict;
use constant MAX
Hi.
I'm trying to upload file with the next code:
#!/usr/bin/perl
use DBI;
use CGI qw/:standard/;
no strict;
use constant MAX_FILE_SIZE => 1_048_576;
use constant BUFFER_SIZE => 16_384;
my $buffer = "";
my $cgi=new CGI;
my $filename=$cgi->param('picture
13 matches
Mail list logo