PDA

View Full Version : Guestbook using scripts...



justinw
05-24-2004, 02:11 PM
I found a open script that makes you a guestbook provided you have set it up correctly.

I have done what the instructions say but it is not working well. If someone could please look through the files I would greatly appreciate it!

They are:
www.empangenispca.co.za/cgi-bin/guestbook.pl
www.empangenispca.co.za/guestbook.html
www.empangenispca.co.za/guestbook_add.html
www.empangenispca.co.za/guestlog.html
www.empangenispca.co.za/readme.txt

All the files are in their correct directory... including the guestbook.pl file which goes in the cgi-bin.

One particular thing though: The readme.txt file said I need to place the guestbook.pl file in my cgi-bin, which I did, but it then says "and in chmoded to a+rx". What does that mean? Do I need to change my settings anywhere?

Thanks!!!!!!!!

wmabear54
05-24-2004, 04:00 PM
Hi justin

Is perl enabled

www.empangenispca.co.za/cgi-bin/guestbook.pl is not found. This is in the read me files have these things been done.

GUESTBOOK.PL - This is the Perl script that actually writes new entries to
files and returns the entry to the user. This file will need to be placed
in the cgi-bin of your server and chmoded to a+rx. There are a few things
that need to be changed in this file:
# Set Variables
$guestbookurl - The url address of your guestbook.html file
$guestbookreal - The system location of your guestbook.html file
$guestlog - The system location of your guestlog.html file
$cgiurl - The url portion of the address to the guestbook.pl file
The file guestbook.pl needs to be placed in your server's cgi-bin and
chmoded read/execute for users of your httpd. (chmod a+rx)

These are just observations other than that I wish I could help

Mike

wmabear54
05-24-2004, 04:04 PM
Yes you need to change permissions
Sorry I answered before I read the rest of your post

Mike

justinw
05-25-2004, 01:21 PM
I had changed all the required settings already.

I suppose I just need to change permissions. I guess I need to speak to my adminastrator about that. Thanks