Re: Determine upload file type

2008-06-20 Thread Gunnar Hjalmarsson
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

Re: Determine upload file type

2008-06-20 Thread Beginner
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

Re: Determine upload file type

2008-06-20 Thread Owen
> 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

Determine upload file type

2008-06-20 Thread Mimi Cafe
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

Re: Upload file not working

2004-08-17 Thread Wiggins d Anconia
> 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

Upload file not working

2004-08-16 Thread roland maynard
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

Re: To upload file from client to Appache server (WNNT)

2002-08-03 Thread Dave K
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

Re: To upload file from client to Appache server (WNNT)

2002-08-02 Thread Connie Chan
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

Re: To upload file from client to Appache server (WNNT)

2002-08-02 Thread Bruce Ambraal
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

Re: upload file

2001-09-10 Thread Rajeev Rumale
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

Re: upload file

2001-09-10 Thread Konstantin
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

Re: upload file

2001-09-09 Thread Rajeev Rumale
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

upload file

2001-09-09 Thread Konstantin
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