# Guest book

**URL:** <https://forum.kirupa.com/t/guest-book/22888>\
**Category:** Uncategorized\
**Created:** [June 10, 2003, 5:09am UTC](https://forum.kirupa.com/t/guest-book/22888 "2003-06-10T05:09:01Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![teet](https://avatars.discourse-cdn.com/v4/letter/t/c37758/32.png) [@teet](https://forum.kirupa.com/u/teet)\
**Post date:** [June 10, 2003, 5:09am UTC](https://forum.kirupa.com/t/guest-book/22888/1 "2003-06-10T05:09:01Z")

</div>

i know a lot of these guest book questions have been posted before…i did do a search, but i can’t seem to get anything to work.

i downloaded a guestbook at flashkit [http://www.flashkit.com/movies/Interfaces/Forms/Flash\_MX-Mentaler-8439/index.php](http://www.flashkit.com/movies/Interfaces/Forms/Flash_MX-Mentaler-8439/index.php)

i’ve enabled my cgi-bin on my webspace (the ITS webpage at Truman said all i had to do is create a folder called “cgi-bin” and then add an .htaccess file with one line of code–does this sound right?)

you can see the problem with the guestbook here: [http://www2.truman.edu/~dat725/guestbook.html](http://www2.truman.edu/~dat725/guestbook.html) it always says that i haven’t filled out all the text fields out

in the readme file that comes along with the guestbook, it says i need to modify the CHMOD setting on the entry.txt file to 766…i’m not sure how to do this really. i’m using WinSCP to ftp, and the only settings like this i can find has a bunch of R, W, and X’s.

thanks in advance.

-teet

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 10, 2003, 6:31am UTC](https://forum.kirupa.com/t/guest-book/22888/2 "2003-06-10T06:31:36Z")

</div>

Well I´m a noobie but the CHMOD thing is pretty easy ( I think…)

The R = read  
The W = write  
The X = execute

RIght click the files you like to CHMOD and just give them the R,W and X rights that gives you the setting 777 wich should work fine with your entry.txt file.

Hope this helped?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 10, 2003, 6:57am UTC](https://forum.kirupa.com/t/guest-book/22888/3 "2003-06-10T06:57:06Z")

</div>

thanks for your reply mooler 🙂

this is a screenshot of the setting i used for “entry.txt” maybe this will help.

-teet

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 10, 2003, 11:50am UTC](https://forum.kirupa.com/t/guest-book/22888/4 "2003-06-10T11:50:38Z")

</div>

That seems to be the right way to CHMOD your txt file.  
Does your guestbook still ask for you to fill in the fields?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 10, 2003, 6:46pm UTC](https://forum.kirupa.com/t/guest-book/22888/5 "2003-06-10T18:46:29Z")

</div>

yeah…now that i think about it, i think the CHMOD settings are okay. in the PHP script there are 2 error messages: 1 if your CHMOD settings are screwed up, and 1 if you don’t have all the text fields filled in. i’m not sure what’s wrong really.

-teet

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 10, 2003, 7:48pm UTC](https://forum.kirupa.com/t/guest-book/22888/6 "2003-06-10T19:48:10Z")

</div>

can you show us the php script?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 10, 2003, 8:25pm UTC](https://forum.kirupa.com/t/guest-book/22888/7 "2003-06-10T20:25:13Z")

</div>

sure thing…the only thing i modified in the PHP from the original script that i downloaded from flashkit was the email address

i wasn’t sure how the forum would respond if i pasted the PHP code directly into my post, so i saved it as a \*.txt and attached it.

-teet

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 10, 2003, 8:29pm UTC](https://forum.kirupa.com/t/guest-book/22888/8 "2003-06-10T20:29:56Z")

</div>

you have to use the php vb script tags…

[_PHP][_/PHP]

remove the asterix and it would show the code. I’ll take a look at the text file…

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 11, 2003, 8:01pm UTC](https://forum.kirupa.com/t/guest-book/22888/9 "2003-06-11T20:01:41Z")

</div>

thanks man.

is there any way to check and make sure i have my cgi-bin set up correctly? i was thinking that maybe that was the problem?

-teet

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 11, 2003, 8:32pm UTC](https://forum.kirupa.com/t/guest-book/22888/10 "2003-06-11T20:32:36Z")

</div>

are you using PHP or CGI? You don’t need cgi-bin for PHP scripts…

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 12, 2003, 4:00am UTC](https://forum.kirupa.com/t/guest-book/22888/11 "2003-06-12T04:00:02Z")

</div>

ahhh…it’s php for this guestbook.

i don’t know much of anything about php and cgi stuff, but i’ll pick up knowledge along the way.

-teet

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 24, 2003, 5:00am UTC](https://forum.kirupa.com/t/guest-book/22888/12 "2003-08-24T05:00:51Z")

</div>

i need help too! i dont now what, but when i try to change the CHMOD levels on the entry.txt file i get the error “502 Command ‘site’ not implemented” i dont know anything about php just tryin to follow directions! :-\ im usin WS\_FTP and im usin the [ftp.angelfire.com](http://ftp.angelfire.com) host :-\ ! thnx! hope someone will help me im so dumb \>=D i got a screen shot of what i did too

HELP HELP! ![](http://www.angelfire.com/tn3/k-pop/entry.jpg)
