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: Could not open testfile.txt: No such file or directory

2008-05-30 Thread Beginner
Hi, Did you mean to mail the cgi list? On 30 May 2008 at 13:04, Mimi Cafe wrote: > use constant DEFAULT_REPORTDIR => ".\\compare_report"; Is this a windows path? You can and probably should always use '/' for directory path separators or in this case 'compare_report' would do. > my $master_

Re: Suggestions for a simple configuration management web application

2008-03-12 Thread Beginner
On 11 Mar 2008 at 11:54, Richard wrote: > Hey all, > > I am trying to find a simple, modular web based configuration > application and am having a little trouble. Basically, I need > something to do some simple configurations on an appliance similar to > something like a laser printer. You know

Send a file

2008-02-19 Thread Beginner
Hi, I am trying to send a file in response to a request but am having trouble. Here's what I have so far. I am not certain what the headers should be. I am not getting any more info from my error_log except Premature end of script headers. my $s = (stat($file))[7]; my $filename = $user.'.cs

Re: What is the function value in perl?

2008-01-12 Thread Beginner
I know how to read the key from the keyboard now but when I use the Readkey to read the F3 key, it only show 0 for the key, and it is same as other Fx key... Is that any other way to find other those Fx key ASCII value in perl? -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional command

Re: What is the function value in perl?

2008-01-07 Thread Beginner
On 1月5日, 下午6時19分, [EMAIL PROTECTED] (Peter Scott) wrote: > On Fri, 04 Jan 2008 09:04:48 -0800, Beginner wrote: > > Hi all, Can any body teach me how to input the function key in perl? > > such as "Esc", F1, F2, F3, F4"... > > I' m programming somethin

What is the function value in perl?

2008-01-04 Thread Beginner
Hi all, Can any body teach me how to input the function key in perl? such as "Esc", F1, F2, F3, F4"... I' m programming something with perl to work with IBM AS400 system, and it needs to input some key like F3, F9.. Thanks!! -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional co

Get data into frame

2006-10-23 Thread Beginner
Hi, I have a html document with links to a perl cgi scripts. The script gets some file information and I want the returned page to have the data from the script in one frame and a different location in the other but I'm not sure how. If I so something like: #!/usr/bin/perl use strict; use wa

Re: cgi script to capture http headers

2006-09-28 Thread Beginner
Hi On 28 Sep 2006 at 17:21, Kaushal Shriyan wrote: > Hi ALL > > I have a issue > > when i use script (test.cgi) > > #!/bin/bash > echo "Content-type: text/plain"; > echo > set > > I get all the http headers populated with the values correctly > > but when I use the below script (test-cgi) >

Get stuck when using modules

2001-12-15 Thread Perl Beginner
Hi all, I am using Windows 98 and active perl , and now I have 2 problems here : Q1) I am trying to use CGI module to output a GIF, but I found that it is fail . However, my purpose is to output multiple GIFs, just something looks like a counter. Would anybody have suggestion for a better module