[Xitami] CGI Perl scripts
Bruce
xitami@lists.xitami.org
Sun, 30 Dec 2001 15:44:07 -0500
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