Hello all,
I am trying to process a menu option but for some reason perl causes the
value to come up blank can anyone help? This is only hapening on the menu
items.
Is there a trick to sending drop down menus?
TNX,
Mike
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
--- [EMAIL PROTECTED] wrote:
> Hello all,
>
> I am trying to process a menu option but for some reason perl causes the
> value to come up blank can anyone help? This is only hapening on the menu
> items.
>
> Is there a trick to sending drop down menus?
>
> TNX,
>
> Mike
Mike,
What do you mea
Sorry bout that... I do mean drop-downs from HTML. What I want to
do is have it email me all the info, which it does email me. Everything but
the dropdown menu information. see attached.
Thanks again...
Mike
"Curtis Poe" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PR
The CGI (or other parsing sub) reads the data selected from the drop
down, which is in the "value" part of each tag.
option 1
option 2
option 3
then in your param{'dropdown'}you should have 1, 2 or 3 depending on the
option that he choose.
What are you using to parse the data? CGI.pm ? That
I am using cgi-lib.pl this is the script that I am using.
#!/usr/bin/perl
#location to your log file.
$logfile = "/usr/local/apache/cgi-bin/log/logfile.log";
#location of our sendmail program.
$mailprog = "/usr/sbin/sendmail";
#path to cgi-lib.pl.
$library = "/usr/local/apache/cgi-bin";
requ
I am using cgi-lib.pl this is the script that I am using.
#!/usr/bin/perl
#location to your log file.
$logfile = "/usr/local/apache/cgi-bin/log/logfile.log";
#location of our sendmail program.
$mailprog = "/usr/sbin/sendmail";
#path to cgi-lib.pl.
$library = "/usr/local/apache/cgi-bin";
requ
I am using cgi-lib.pl this is the script that I am using.
#!/usr/bin/perl
#location to your log file.
$logfile = "/usr/local/apache/cgi-bin/log/logfile.log";
#location of our sendmail program.
$mailprog = "/usr/sbin/sendmail";
#path to cgi-lib.pl.
$library = "/usr/local/apache/cgi-bin";
requ
By the way I had a unknown host with me.com...
Try this, if it works, it's in your cgi-lib.pl the problem.. ( I removed
comments and added some where I made mods)
#!/usr/bin/perl
use CGI; # use the CGI module to parse instead of your cgi-lib...
use strict; #always use strict, it's a good coding
Something must not be reading right. I still get the same result from the
category. A blank. Everything else is there though.
Mike
Etienne Marcotte <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> By the way I had a unknown host with me.com...
>
> Try this, i
can you forward the html part again?
I will test the exact same code on my machine, I'm sure it's gonna work, I just
checked the part of my script that reads data from my forms and it works fine...
My netscrap just converted to text and the only thing I see is the line and the
text
Etienne
[EMA
Etienne Marcotte <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> can you forward the html part again?
> I will test the exact same code on my machine, I'm sure it's gonna work, I
just
> checked the part of my script that reads data from my forms and it works
fi
Damn I'm stupid
You wrote name=Category
and you're trying to find $in{'category'}
note the capital C
That's where your error is..
You may use your cgi-lib it's fine:-)
Etienne
[EMAIL PROTECTED] wrote:
Etienne Marcotte <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> can you forwa
--- Etienne Marcotte <[EMAIL PROTECTED]> wrote:
> You may use your cgi-lib it's fine:-)
Aside from the fact that cgi-lib.pl is not actively maintained, it has a few other
problems:
http://www.bayview.com/training/mindsrc-bof/1997-04-24/pros-cons.html
Cheers,
Curtis "Ovid" Poe
=
Senior Pro
13 matches
Mail list logo