Guest book

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

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 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

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?

thanks for your reply mooler :slight_smile:

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

-teet

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

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

can you show us the php script?

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

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…

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

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

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

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 host :-\ ! thnx! hope someone will help me im so dumb >=D i got a screen shot of what i did too

HELP HELP!