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
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
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
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
>
> > 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
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
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
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
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
> 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
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
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
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
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
>
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
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
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
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 "";
--
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
_
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
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
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
> 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
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
> -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
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
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
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())
> > {
> > $
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) {
>
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
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
>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,
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
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.
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
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
36 matches
Mail list logo