PDA

View Full Version : Guestbook



Magiccupcake
15 Feb 2007, 09:30 AM
I am trying to add a guestbook to a website that I have built. I have found a Perl script, but can not seem to get it to work. This is what I have for the first part of the script

C:\Program Files\SWsoft\Plesk\Additional\Perl\bin

# Set Variables

$guestbookurl = "http://www.rightspice.net/guestbook.html";
$guestbookreal = "C:\Inetpub\vhosts\rightspice.net\httpdocs\guestbook.html";
$guestlog = "C:\Inetpub\vhosts\rightspice.net\httpdocs\guestlog.html";
$cgiurl = "http://www.rightspice.net/cgi-bin/guestbook.pl";
$date_command = "/usr/bin/date";


According to my server company (aplus.net, I have a windows Plesk server) all this should be right. But whenever I go to post on it, it takes me to http://www.rightspice.net/cgi-bin/guestbook.pl and says that the page can not be displayed…

Any suggestions would be great.

Alan
16 Feb 2007, 06:48 AM
I've zero experience with Perl but it looks similar to PHP. Could post up the whole script?
It seems to be going to the $cgiurl location. Is that page on your server? If not, then thats your problem right there.