Re: CGI question on param

2006-07-07 Thread Mr. Shawn H. Corey
Mike Martin wrote: > Does anyone know if there is any way to split the param list returned > by CGI.pm by record ie: > > I have an input form which is populated from a DB query which can have > unlimited numbers of records. > It would be easier to answer your question if you supplied the FORM tag

CGI question on param

2006-07-07 Thread Mike Martin
Does anyone know if there is any way to split the param list returned by CGI.pm by record ie: I have an input form which is populated from a DB query which can have unlimited numbers of records. When the parameters come in the individual params are split, but not the lines for each form. Is the

Re: And a CGI question.

2006-04-11 Thread M. Kristall
Closing STDOUT should be good enough for the server. Alternatively, if you know how big the content you are sending is, you can send a Content-Length header, and assuming the client doesn't ignore that (it shouldn't), the client will say the page is done when it is. It might make more sense to

Re: And a CGI question.

2006-03-26 Thread Tom Allison
Koms Bomb wrote: > If I have a cgi script that send text/plain what does the client see if I send > all the text at once but then don't exit for seconds because I'm doing some > background processing at my end? do they sit and spin around in circles? Don't hang the

Re: And a CGI question.

2006-03-26 Thread Koms Bomb
> > > If I have a cgi script that send text/plain what does the client see if > I send > > all the text at once but then don't exit for seconds because I'm doing > some > > background processing at my end? do they sit and spin around in > circles? Don't hang the request for long time, otherwise

Re: And a CGI question.

2006-03-25 Thread Tom Phoenix
On 3/25/06, Tom Allison <[EMAIL PROTECTED]> wrote: > If I have a cgi script that send text/plain what does the client see if I > send > all the text at once but then don't exit for seconds because I'm doing some > background processing at my end? do they sit and spin around in circles? What ha

And a CGI question.

2006-03-25 Thread Tom Allison
If I have a cgi script that send text/plain what does the client see if I send all the text at once but then don't exit for seconds because I'm doing some background processing at my end? do they sit and spin around in circles? -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comma

Re: CGI Question on WinXP

2005-07-04 Thread Ing. Branislav Gerzo
Daniel Brown [DB], on Monday, July 4, 2005 at 15:26 (+0100) wrote about: DB> Now I am wanting to analyze log files with Perl and dump the results in DB> a MySQL database. I know I want the DBI and DBD-MySQL modules and I've DB> already downloaded them but what files do these modules consist of at

CGI Question on WinXP

2005-07-04 Thread Daniel Brown
Sorry if the following questions are not in the correct perl terminology, I'm a C++/C#/php coder picking up Perl for the first time! I'm trying to run perl from the command line on Windows XP Professional without installing it, so far I've got perl working by putting perl.exe and perl58.dll into

RE: CGI Question

2003-11-11 Thread Dan Muey
> Hi, Howdy > > I'm hoping someone can help me with a CGI problem I've > been having: [snip] > > For some reason I have to insert an alert box to cause > some delay between the invokation > of these CGI scripts, otherwise it doesn't work. > > Does anyone have any idea how I should solve thi

CGI Question

2003-11-07 Thread Jack
Hi, I'm hoping someone can help me with a CGI problem I've been having: I have two frames on my site. The left frame contains a CGI script (and it's initially called with NO parameters) and the right frame contains an HTML file. There is a button on the right frame that triggers a javascript f

Re: Simple CGI question

2003-11-07 Thread R. Joseph Newton
Eric Walker wrote: > Newbie here but hope this helps. > > You have a page linked to the frame on the left right? All you need to > do is have your CGI script write the new page. You use the info from > the frame on the right and pass the values to your cgi script. Then let > your CGI script writ

Re: Simple CGI question

2003-11-06 Thread Eric Walker
Newbie here but hope this helps. You have a page linked to the frame on the left right? All you need to do is have your CGI script write the new page. You use the info from the frame on the right and pass the values to your cgi script. Then let your CGI script write out a new html page using the

Re: Simple CGI question

2003-11-06 Thread Bee
You would like to use this : in your html page of your right frame. Hope this help - Original Message - From: "Jack" <[EMAIL PROTECTED]> To: "CGI1" <[EMAIL PROTECTED]> Sent: Friday, November 07, 2003 8:11 AM Subject: Simple CGI question >

Simple CGI question

2003-11-06 Thread Jack
Hello, I'm trying to redirect the output of my CGI (written in Perl) to another frame, but I'm not exactly sure how to do this. i.e. I have two frames on my page one on the right and one on the left. There is a form on the right frame. When the user clicks on the Submit button on my form, I'd l

Re: Simple CGI Question

2003-11-05 Thread Tore Aursand
On Wed, 05 Nov 2003 01:26:20 -0500, Jack wrote: > In my perl CGI script, I'm trying to extract the PID > that corresponds to it. The '$$' variable holds the pid; perldoc perlvar > How come it's not possible to do something like: > > print ""; > print `time`; > print ""; No need to do a syste

Re: Simple CGI Question

2003-11-04 Thread Sudarshan Raghavan
Jack wrote: Hello, In my perl CGI script, I'm trying to extract the PID that corresponds to it. $$ contains the PID that corresponds to your script (perldoc perlvar) How do I do this? I'm also trying to extract the timestamp. The built-in perl function localtime will interest you perldoc -f loc

Re: Simple CGI Question

2003-11-04 Thread Andrew Gaffney
Jack wrote: Hello, In my perl CGI script, I'm trying to extract the PID that corresponds to it. How do I do this? I'm also trying to extract the timestamp. How come it's not possible to do something like: print ""; print `time`; print ""; Try this: print ""; print scalar localtime; print ""; --

Simple CGI Question

2003-11-04 Thread Jack
Hello, In my perl CGI script, I'm trying to extract the PID that corresponds to it. How do I do this? I'm also trying to extract the timestamp. How come it's not possible to do something like: print ""; print `time`; print ""; Any help would be greatly appreciated, Jack _

RE: PERL\CGI question...

2002-12-31 Thread Nigel Peck - MIS Web Design
You should be able to write a script to use chmod to do it. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 31 December 2002 15:25 To: [EMAIL PROTECTED] Subject: PERL\CGI question... The ISP that I use seems to be always restoring files with the result that

PERL\CGI question...

2002-12-31 Thread Richard.C.1
The ISP that I use seems to be always restoring files with the result that although my PERL files are there, the permissions get clobbered when they do the restore. Is there any way I can write a PERL\CGI program that I can run on the server that will allow me to reset the permissions on a file? I

RE: CGI QUESTION

2002-05-13 Thread Lance Prais
with the script and the variables did not pass but work fine on Server_1 Thanks -Original Message- From: David Gray [mailto:[EMAIL PROTECTED]] Sent: Monday, May 13, 2002 12:42 PM To: 'Perl'; 'Lance Prais' Subject: RE: CGI QUESTION > I have a question regarding p

RE: CGI QUESTION

2002-05-13 Thread David Gray
> I have a question regarding passing variables from a HTML > form to a CGI script. I have never worked with CGI in the > past and assumed that if I included the variables with in the > form and on submit called the CGI script that the variable > would be amiable to it. That doe not see, to

RE: CGI QUESTION

2002-05-13 Thread Lance Prais
Showalter [mailto:[EMAIL PROTECTED]] Sent: Monday, May 13, 2002 10:42 AM To: 'Lance Prais'; Perl Subject: RE: CGI QUESTION > -Original Message- > From: Lance Prais [mailto:[EMAIL PROTECTED]] > Sent: Monday, May 13, 2002 11:15 AM > To: Perl > Subject: CGI QUESTIO

RE: CGI QUESTION

2002-05-13 Thread Bob Showalter
> -Original Message- > From: Lance Prais [mailto:[EMAIL PROTECTED]] > Sent: Monday, May 13, 2002 11:15 AM > To: Perl > Subject: CGI QUESTION > > > I have a question regarding passing variables from a HTML > form to a CGI > script. I have never worked wi

Re: CGI QUESTION

2002-05-13 Thread drieux
On Monday, May 13, 2002, at 08:15 , Lance Prais wrote: > I have a question regarding passing variables from a HTML form to a CGI > script. I have never worked with CGI in the past and assumed that if I > included the variables with in the form and on submit called the CGI > script > that the v

CGI QUESTION

2002-05-13 Thread Lance Prais
I have a question regarding passing variables from a HTML form to a CGI script. I have never worked with CGI in the past and assumed that if I included the variables with in the form and on submit called the CGI script that the variable would be amiable to it. That doe not see, to be the case. I

Re: CGI question

2002-04-01 Thread Joe Echavarria
when i try to excute your code over the brower i get not output from the script, but when i execute the script at command line i gets output. why ? --- drieux <[EMAIL PROTECTED]> wrote: > > On Monday, April 1, 2002, at 07:12 , Joe Echavarria > wrote: > > > > > if (param()) > > { > > $

Re: CGI question

2002-04-01 Thread drieux
On Monday, April 1, 2002, at 07:12 , Joe Echavarria wrote: > if (param()) > { > $cate= param('categorias'); > print " The Param is ---> es $cate"; > }; > while ($file = ) { >($categoria,$link) = split(":",$file); > ##this code is not working >if ($categoria eq $cate) { >

cgi question

2002-01-21 Thread Vicky Lorenzo
Hello everyone, I hope someone can help me with this problem. Here is what I am trying to do: - Job request is entered in Form-A. - When Form-A is submitted, apple.cgi tells the user the form is successfully submitted and at the same time appends the request into an html file (banana.html) tha

RE: Multiple submit buttons CGI question

2001-05-22 Thread Timothy Kimball
Aaron Craig wrote: : I believe multiple submit buttons only send off the information for the : form they are a part of. If you have multiple forms, clicking one submit : button will only get you that form sent off. This is true (unless you're into Javascript). However, a single form can have

RE: Multiple submit buttons CGI question

2001-05-22 Thread Peter Cornelius
>I believe multiple submit buttons only send off the information for the >form they are a part of. If you have multiple forms, clicking one submit >button will only get you that form sent off. But you can have more than one submit button per form. This is useful when you want something like,

RE: Multiple submit buttons CGI question

2001-05-22 Thread Aaron Craig
I believe multiple submit buttons only send off the information for the form they are a part of. If you have multiple forms, clicking one submit button will only get you that form sent off. At 10:18 22.05.2001 -0700, you wrote: >In the html: > > >the 'value' attribute just set's up what the bu

RE: Multiple submit buttons CGI question

2001-05-22 Thread Peter Cornelius
In the html: the 'value' attribute just set's up what the button text is, not a unique identifier for the button, so like tdk wrote, you need a name attribute to get the behavior you want.

Re: Multiple submit buttons CGI question

2001-05-22 Thread Timothy Kimball
Dave wrote: : Can any one tell where I went wrong here? : (I remember reading that a html form can have : multiple submit forms as long as you parse them : via their value) : ... : In the html: : These tags need a name attribute. Without it, the values will not be bound to a CGI parameter nam

Multiple submit buttons CGI question

2001-05-22 Thread David Gilden
Hello, Can any one tell where I went wrong here? (I remember reading that a html form can have multiple submit forms as long as you parse them via their value) Thanks! Dave - In the html: -- #!/usr/bin/perl $forminfo = ; @key_value_pairs = split(/&/,$forminfo); foreach $pair