?
Solved

Basic CGI explanation

Posted on 2002-07-21
2
Medium Priority
?
342 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 84

Accepted Solution

by:
ozo earned 800 total points
ID: 7168721
0
 

Author Comment

by:kaku75
ID: 7168811
thanks for quick help
0

Featured Post

Quick Cloud Training

Looking for some quick training on the cloud in 2 hours or less? Check out these how-to guides in AWS, Linux, OpenStack, Azure, and more!

Question has a verified solution.

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

This tutorial will discuss the log-in process using WhizBase. In this article I assume you already know HTML. I will write the code using WhizBase Server Pages, so you need to know some basics in WBSP (you might look at some of my other articles abo…
Recently I have been answering a lot of questions like this in IT forums that I frequent. The question posed is usually something along the lines of "We have software X installed and need to uninstall it for reason Y" or some other variant of the sa…
Learn the basics of lists in Python. Lists, as their name suggests, are a means for ordering and storing values. : Lists are declared using brackets; for example: t = [1, 2, 3]: Lists may contain a mix of data types; for example: t = ['string', 1, T…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
Suggested Courses

762 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