in reply to Printing URL to webpage

Learning perl is good in itself... here's a first step.

# untested! use CGI; # the standard way of using perl to write web pages my $cgi = new CGI; # creates a new object to use print $cgi->header; # prints out your basic http headers my $continue = $cgi->param('continue'); # get the value of the "contin +ue" parameter passed to your script # print some HTML here... print "<A HREF=\"$continue\"><B>Continue</B></a>"; # some people use C +GI methods to print out HTML, but I am happy doing it raw

Now go check out the CGI.pm documentation and learn more.

dave hj~

Replies are listed 'Best First'.
Re: Re: Printing URL to webpage
by Deanimal (Acolyte) on Nov 06, 2002 at 18:07 UTC
    Cool! Thanks a lot, dave. I look forward to trying that out. And thanks especially for giving me something to work with other than saying to RTFM.
      I tried it and get the same results. Maybe it has something to do with the way the webpage is generated-- it's a series of pieces that are written in the script separately and then added together. There's a page_header + stats (which are composed of several sections) + page_footer. I'll go read more. Thanks again though,

      Dean