Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re: Re: Re: Drop-down list Option Value

by Happyjack (Novice)
on Feb 02, 2003 at 21:21 UTC ( #232056=note: print w/replies, xml ) Need Help??

in reply to Re: Re: Drop-down list Option Value
in thread Drop-down list Option Value

Pink Floyd,
Just a aheads up regarding cgi-lib. The library has become the de facto standard library for creating Common Gateway Interface (CGI) scripts in the Perl language. You can find information on this at Berkeley. I still need to dig into the difference between the two.

  • Comment on Re: Re: Re: Drop-down list Option Value

Replies are listed 'Best First'.
Re: Re: Re: Re: Drop-down list Option Value
by data64 (Chaplain) on Feb 02, 2003 at 23:19 UTC

    As TStanley pointed out to me, cgi-lib was designed for Perl4. When Perl5 came out with support for modules, cgi-lib was ported to CGI module.

    So unless you are stuck with Perl4, you should be looking at the CGI module which is now the defacto standard.

    Just a tongue-tied, twisted, earth-bound misfit. -- Pink Floyd

Re: Re: Re: Re: Drop-down list Option Value
by Notromda (Pilgrim) on Feb 03, 2003 at 04:24 UTC
    What's your justification for this statement? The self description on the web page? Look at the date on the bottom of the page:
    $Date: 1998/02/20 05:08:40 $

    If you hang around here for very long, it would be pretty clear that CGI is the de facto library for creating cgi scripts.

    As for your question: The only information that is submitted to your cgi program is the value inside the option tag. So you either have to put the desired text in the value attribute, or you have to map the value attributes to some text within the cgi program. Moreover, you probably don't want to have the image names in the value tags; choose a simple alias to place in the value attributes, and then map that value to the appropriate text and file name within the program.

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://232056]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (2)
As of 2022-10-03 02:11 GMT
Find Nodes?
    Voting Booth?
    My preferred way to holiday/vacation is:

    Results (13 votes). Check out past polls.