Evilsid has asked for the wisdom of the Perl Monks concerning the following question:

someone help me out.i need to study a code.i need to extract data from a html form, i know,i have to make this script a function and then call it with another script. do i place these two script on the /cgi-bin folder. how do i go about this. pls i ned the codes. thank u
  • Comment on what code do i need to extract form data

Replies are listed 'Best First'.
Re: what code do i need to extract form data
by davorg (Chancellor) on Mar 02, 2006 at 12:56 UTC

    Use the CGI module and, in particular, its "param" function.

    --
    <http://dave.org.uk>

    "The first rule of Perl club is you do not talk about Perl club."
    -- Chip Salzenberg

Re: what code do i need to extract form data
by wfsp (Abbot) on Mar 02, 2006 at 13:40 UTC
Re: what code do i need to extract form data
by samizdat (Vicar) on Mar 02, 2006 at 13:47 UTC
    There are many examples and tutorials out there on the web. Here, look in the Tutorials section. Another place for code help is WebMonkey, and there are lots of others. Search for "Perl CGI" to start.

    CGI is an old protocol, and the Web now has many other methodologies for server-side programming. However, many people still use it, and it's perfectly adequate for the majority of websites out there.

    Good luck, Evilsid. There is much to be learned here, and it is obvious that you're starting from the very beginning. Take time to search through the material that's already on PerlMonks before you ask such big questions, and do your best to try before you ask. You'll get much more assistance and support if you try to push your own wagon before you ask for help. :D

    Don Wilde
    "There's more than one level to any answer."