Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

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

by Happyjack (Novice)
on Feb 02, 2003 at 21:21 UTC ( [id://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 cgi-lib.pl 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?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2024-04-24 01:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found