[Xitami] CGI Perl scripts
Patricko
xitami@lists.xitami.org
Sun, 30 Dec 2001 22:31:48 -0700
the <<HERE documents type print out is better this allows you to type in
your
html with out worrying about escaping things
print <<HtmBefore;
<html>
<head>
<title>
Guest Book Viewing
</title>
</head>
<body background="/images/background.gif"bgcolor=ffffff><font face=arial
color=000000 size=3>
<center><h2>Those That Have Signed my Guest Book</h2><br><hr>
HtmBefore
----- Original Message -----
From: "Bruce" <bd4u@earthlink.net>
To: <xitami@lists.xitami.org>
Sent: Sunday, December 30, 2001 1:44 PM
Subject: Re: [Xitami] CGI Perl scripts
> On Mon, 31 Dec 2001 08:46:47 +1300, you wrote:
>
> >In message <qlou2u80essafl9cjt88eov26k7h7igg4b@4ax.com>, Bruce writes:
> >>In the following Perl script snipet, where would the URL
> >>be fit in exactly..
> >>======================>
> >><a href=\"$guestbookurl\">Guestbook</a>
> >>======================>
> >
> >I'd imagine that $guestbookurl is defined somewhere towards the top of
> >the script and should be set to the URL of either the perl script or
> >some HTML page it generates (depends on how the script works).
> >
>
>
> The above HREF command is part of the Perl script. The helpfiles
> say to edit the href command in the Perl script to point to the html
> file. If by default it's the root, then I figure it might look
> something like
>
> <a href=\"$208.33.152.220\guestbook.html">Guestbook</a>
>
> But I have NO idea of the correct syntax for using in Perl. Does
> the above look right? Remember the above is supposed to be
> in a Perl script.
>
> Also if the file resided in the CGI bin, do I add the directory
> structure, or will it be found by default of "root", so that all I
> need is the filename such as 208.33.152.220\guestbook.pl
> for a CGI URL?
>
> Xitami for Dummies-
>
> Bruce
>
>
> --
> Xitami Users Mailing List -- For Xitami support
> To unsubscribe: http://lists.xitami.org/mailman/listinfo/xitami
>