Solved

Basic CGI explanation

Posted on 2002-07-21
2
337 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 200 total points
ID: 7168721
0
 

Author Comment

by:kaku75
ID: 7168811
thanks for quick help
0

Featured Post

Business Impact of IT Communications

What are the business impacts of how well businesses communicate during an IT incident? Targeting, speed, and transparency all matter. Find out more in this infographic.

Question has a verified solution.

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

In this tutorial I will show you how to make a simple HTML bar chart with the usage of WhizBase, If you want more information about WhizBase please read my previous articles at http://www.experts-exchange.com/ARTH_5123186.html (http://www.experts-ex…
I hope you'll find this tutorial useful and interesting. So let's try to extend Tcl with a new package.  For anyone more deeply interested please check out the book "Practical Programming in Tcl and Tk". It's really one of the best written books abo…
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.
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

724 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