PC Playground  

Go Back   PC Playground > The Core > Scripting/Programming
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-04-2004, 08:23 AM
Junior Member
 
Join Date: Mar 2004
Posts: 3
Default Guestbook

I've decided that I would like a guestbook on my site. I googled "guestbook script" and found that Matt Wright's guestbook script is highly recommended. So I've decided to take a stab at this and even though he seems to explain things really well, I'm still very confused on a few things and this might turn into a long process with a lot of questions.

I guess I will start with this chmod thing. Matt says, "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)." I've got the placing it into the cgi-bin part down :wink: but, I don't have UNIX. How can I get around using chmod or what do I need to do in order to get it to work?

I really appreciate you taking time to explain this :)

Amie
Reply With Quote
  #2 (permalink)  
Old 04-04-2004, 11:46 AM
Senior Member
 
Join Date: Jan 2003
Location: The Chair In Front Of My PC...
Posts: 597
Default

certain FTP programs allow you to do it. Filezilla, for example, lets you.

Also, there is a way to do it as command line in an executable text file on the server, or something, but I don't know how to do that exactly.
Reply With Quote
  #3 (permalink)  
Old 04-04-2004, 05:04 PM
Senior Member
 
Join Date: Feb 2003
Location: USA
Posts: 2,018
Send a message via AIM to zoid Send a message via MSN to zoid Send a message via Yahoo to zoid
Default

I thought you didn't have to CHMOD on windows servers? :o
Reply With Quote
  #4 (permalink)  
Old 04-05-2004, 04:04 AM
Junior Member
 
Join Date: Mar 2004
Posts: 3
Default

Me again. So this CHMOD thing, do I just right click on the file when it's up on the server and set the read/write/execute properties that way instead?

Also, what would you say I set these two variables as?
$guestbookreal = "/home/yourname/public_html/guestbook.html";
$guestlog = "/home/yourname/public_html/guestlog.html";
It says they are the system location of your guestbook.html file.

This seems so easy and yet I can't get it to work :( :?

Amie
Reply With Quote
  #5 (permalink)  
Old 04-05-2004, 08:43 PM
Senior Member
 
Join Date: Jan 2003
Location: The Chair In Front Of My PC...
Posts: 597
Default

for the chmod thing: if your ftp program will let you do that, then do it...

as for the next question... i dont remember what the absolute path is on the server anymore, so wait for tommy's response
Reply With Quote
  #6 (permalink)  
Old 04-06-2004, 02:26 AM
Administrator
 
Join Date: Jan 2003
Posts: 1,350
Default

I have setup the script so it is now working on your webspace. I would have done it earlier, but I didn't see the file on the server then.

By the way the path you were looking for is:

/home/pcplay/public_html/amie

Hope I have been of help.
Reply With Quote
  #7 (permalink)  
Old 04-06-2004, 05:32 AM
Junior Member
 
Join Date: Mar 2004
Posts: 3
Default

HOORAY it's working!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 02:57 PM.


Powered by vBulletin Version 3.6.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.