?
Solved

Basic CGI explanation

Posted on 2002-07-21
2
Medium Priority
?
352 Views
Last Modified: 2013-12-25
Dear Experts,

I am very new to the cgi-perl programming. I have been working in VB before but now for my own website I need to install a cgi script. It is fine and runs well but looking thru the code and reading some perl books I could not understand some of the lines in the programs. Please explain to me what they means and what they do:

--------------
Line 1: use CGI::Carp qw(fatalsToBrowser);
Line 2: use CGI;
Line 3: $in = new CGI;
Line 4: $action = $in->param('action');
Line 5: $userid = $in->param('userid');
Line 6: $adm_passwd = $in->param('adm_passwd');

--------------

thanks for your help.

Regards,
Kaku
0
Comment
Question by:kaku75
2 Comments
 
LVL 85

Accepted Solution

by:
ozo earned 800 total points
ID: 7168721
0
 

Author Comment

by:kaku75
ID: 7168811
thanks for quick help
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will show, step by step, how to integrate R code into a R Sweave document
The Windows functions GetTickCount and timeGetTime retrieve the number of milliseconds since the system was started. However, the value is stored in a DWORD, which means that it wraps around to zero every 49.7 days. This article shows how to solve t…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Suggested Courses
Course of the Month16 days, 13 hours left to enroll

864 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question