Solved

Basic CGI explanation

Posted on 2002-07-21
2
322 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 84

Accepted Solution

by:
ozo earned 200 total points
ID: 7168721
0
 

Author Comment

by:kaku75
ID: 7168811
thanks for quick help
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

The following is a collection of cases for strange behaviour when using advanced techniques in DOS batch files. You should have some basic experience in batch "programming", as I'm assuming some knowledge and not further explain the basics. For some…
In this tutorial I will focus on how to use WhizBase as a tool for sending ICQ messages to ICQ. Here I will use a new technology in WhizBase, published in WhizBase 5.1 version. In this tutorial I will use 3 files, pager.wbsp for the processing, e…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

863 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now