Solved

Basic CGI explanation

Posted on 2002-07-21
2
320 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
Comment Utility
0
 

Author Comment

by:kaku75
Comment Utility
thanks for quick help
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

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…
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…
Learn the basics of modules and packages in Python. Every Python file is a module, ending in the suffix: .py: Modules are a collection of functions and variables.: Packages are a collection of modules.: Module functions and variables are accessed us…
Learn the basics of while and for loops in Python.  while loops are used for testing while, or until, a condition is met: The structure of a while loop is as follows:     while <condition>:         do something         repeate: The break statement m…

763 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

6 Experts available now in Live!

Get 1:1 Help Now