in reply to Re: Need help , newbie cgi
in thread Need help , newbie cgi

Hi Kabel, Thank for your help, can you show me how to make it appear on the web ? I can make it run, but can not show on web. Thanks again.

Replies are listed 'Best First'.
Re: Re: Re: Need help , newbie cgi
by kabel (Chaplain) on Sep 14, 2002 at 10:33 UTC
    try this code:
    use strict; use warnings; use CGI; my $cgi = CGI::->new (); print $cgi->header (); print $cgi->start_html (); # # whatever you want, do it here ;) # print $cgi->h1 ("hello, world!"); print $cgi->hr (); print $cgi->end_html ();
    instead of the two print statements, put in the code from my first posting. then copy the resulting script inside the /cgi-bin directory in your document root and try get it from a browser. enjoy!