what code do i need to extract form data
Evilsid
created: 2006-03-02 07:53:19
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
Re: what code do i need to extract form data
created: 2006-03-02 07:56:18

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
created: 2006-03-02 08:40:41

A good place to start is the tutorial at use CGI or die;

Re: what code do i need to extract form data
created: 2006-03-02 08:47:49
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."

perlmonks.org content © perlmonks.org and davorg, dwildesnl, Evilsid, wfsp

prlmnks.org © 2006 edmund von der burg (eccles & toad)

v 0.03