Johnstone, Colin <[EMAIL PROTECTED]> wrote:
Please use beginners-cgi to ask CGI related questions.
: Gidday all,
:
: I have created a form with a group of checkboxes (see code
: below)
:
: I wish to use cgi.pm to process it.
:
: When I use
:
: my @deployBranch = $cgi->{form}{'dep
Gidday all,
I have created a form with a group of checkboxes (see code below)
I wish to use cgi.pm to process it.
When I use
my @deployBranch = $cgi->{form}{'deployBranch'};
my $list;
if ( @deployBranch ) {
$list = join ', ', @deployBranch;
} else {
I would like to print out these header using CGI.pm
Cache-Control: no-store, no-cache, must-revalidate
Cache-Control: post-check=0, pre-check=0
doing
$cgi->header(-"Cache-Control"=>"no-store, no-cache, must-revalidate",
-"Cache-Control"=>
>
>
> Hello
>
> I want to set a user cookie and redirect to a different URL on the
same domain.
> I searched and found alternate ways of doing it.
>
> I am looking for a way to do using CGI.pm
>
> Suggestions?
>
What have you tried and what didn't wo
Hello
I want to set a user cookie and redirect to a different URL on the same domain.
I searched and found alternate ways of doing it.
I am looking for a way to do using CGI.pm
Suggestions?
Thank you
Aman
If this is the case, are there
any ways to fix this problem?
Thanks for the help,
Josiah
-Original Message-
From: Bob Showalter [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 08, 2002 11:32 AM
To: 'Josiah Altschuler'; '[EMAIL PROTECTED]'
Subject: RE: passing a has
Ok works great. Thanks for the help.
Josiah
-Original Message-
From: Bob Showalter [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 08, 2002 11:38 AM
To: 'Josiah Altschuler'; '[EMAIL PROTECTED]'
Subject: RE: passing a hash using cgi.pm
> -Original M
> -Original Message-
> From: Bob Showalter [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, January 08, 2002 11:32 AM
> To: 'Josiah Altschuler'; '[EMAIL PROTECTED]'
> Subject: RE: passing a hash using cgi.pm
>
> Something like this should work, letting
> -Original Message-
> From: Josiah Altschuler [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, January 08, 2002 11:05 AM
> To: '[EMAIL PROTECTED]'
> Subject: passing a hash using cgi.pm
>
>
> Hi. I'm having trouble passing a hash from one program to
Hi. I'm having trouble passing a hash from one program to another through a
link using cgi.pm. My first program passes the hash like this (it's
actually a hash that is one element of an array of hashes):
print pre a ( { -href =>
"http://140.247.111.176/cgi-bin/redun
Jim Witte wrote:
>
>How do I get CGI.pm to work on MacOS X? I set up a script:
> --
> #!/bin/sh
^^
This means you are telling the OS that this is a Bourne shell script
_not Perl_. You need to start perl programs like this:
#!/usr/bin/perl
Or preferably like this:
#!/usr/bin/perl
How do I get CGI.pm to work on MacOS X? I set up a script:
--
#!/bin/sh
use CGI qw(:standard);
echo Content-type:text/plain
echo
echo This is text
--
which works, but if I try to use any of CGI.pm's functions (print
header, for example), it gives me a server error.
Thanks,
Jim
--
To unsu
I think your header is spelled wrong, try
print "Content-Type: text/html \n\n";
^there is the bugger!
But why would you want to print the header manually when using CGI.pm?
al
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
On Thu, 19 Jul 2001, Sascha Kersken wrote:
> That $a in the first script, to me, looks like an OO-style CGI Query object.
> This has to be created before use:
>
> $a = new CGI;
Using $a and $b for variables is not a good idea, since they are used for
sort and can cause some wierd warnings or e
Hi!
That $a in the first script, to me, looks like an OO-style CGI Query object.
This has to be created before use:
$a = new CGI;
Sascha
Original Message:
> Randal, Brian, Stephen,
> Thanks a bunch for your help with my parsing script. I appreciate it very
> much. Here's another pr
Randal, Brian, Stephen,
Thanks a bunch for your help with my parsing script. I appreciate it very
much. Heres another problem:
Why doesnt this do what I think it should do? (I just get Internal server
error)
#!c:/perl/bin/perl -w
use strict;
use CGI qw(param);
my ($who,$quote_type,$key)
16 matches
Mail list logo