[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

[MacPerl] Novice in trouble:-))



Hello folks. I am having some trouble with one of Matts scripts which allows people to add links to a page on the Net.
The cgi only seems to run from the same folder as the html page it is acting upon. When I try to place the cgi in my cgi-bin it cannot seem to see the html page in the relevant folder and creates a blank "links.html" in the cgi-bin folder.
Below is an excerpt from the Read Me that came with the cgi.
Forgive me but I am not very proficent in MacPerl yet:-))



EDIT VARIABLES IN THIS FILE:
$filename = "/server/path/to/links.html"
Path Location of your links.html file.
$linksurl = "http://your.server/actual/url/of/links.html"
URL Location of links.html file.
$linkscgi = "http://your.host.xxx/cgi-bin/links.pl";
URL Location of links.pl.
$linkstitle = "Free For All Link Page"
Title of Your Page##############################################################################
# Define Variables

$filename = ":~compulive:sonic:links.html";
$linksurl = "http://www.sonic.compulive.com/links.html";
$linkscgi = "http://www.compulive.com/sonic/links.cgi";
$linkstitle = "Free For All";
# Done
##############################################################################
****************************************************************
Micheal O Se
www.compulive.com Internet Hosting Service
micheal@compulive.com Database powered websites
****************************************************************




***** Want to unsubscribe from this list? ***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch