CGI script help

Status
Not open for further replies.

sridhar8310

Broken In
Hello friends, I have an unusual problem, I have installed the activeperl software o my pc and compiled the below code sucessfully. But when I put it in the web page nothing shows up. How do I actually use them.
-----------------------------------
use CGI;
$co=new CGI;
print $co->header,
$co->start_html(-title=>'CGI example'),
$co->center($co->h1('welcome to perl')),
$co->start_form(),
$co->textarea
(
-name=>'textarea',
-default=>'welcome to perl',
-rows=>10,
-coloumns=>60
),
$co->end_form(),
$co->end_html;
 

Deep

Version 2.0
i hope you are putting that cgi file in cgi-bin folder...

check this page, it might help you..

Deep
 
Status
Not open for further replies.
Top Bottom