Click to See Complete Forum and Search --> : guest book problems


RagingBull
03-01-2005, 02:43 PM
hi im well new to html and having alot of problems with my site i just want to add a guest book but i dont understand this.....

Change File MODE of "data.txt" to "666" (rw-rw-rw-)

could any1 please explain this as i havent a clue, what is the data.txt and how do i change it to 666

and another thing these are the files that came with the guest book


adm_guestbook.php
guestbook.php
index.php
var.inc.php
data.txt


but in the read me file it said to upload just these files


adm_guestbook.php
guestbook.php
data.txt


do i upload all files or just the ones specified and if just the files specified why is this.

would appricate any help cheers.

Bara Standa
03-02-2005, 01:15 PM
Are you certain your webaccount is php enabled?

I'm learning php and just trying to program my own guestbook. It's why I do this trial to answering your question. What I know about it is that you first have to create a field in your database, mostly MySQL and that you do this via phpmyadmin. Did you do this? Normally if your webspace is php enabled there must be a forum for support.

RagingBull
03-02-2005, 02:13 PM
cheers dude like i said i newbie to all this so i checked my host and i dont think its php enabled and because i've been having problems with my host i changed it to a new one witch is php enabled but the other thing you said about

What I know about it is that you first have to create a field in your database, mostly MySQL and that you do this via phpmyadmin.

with the read me it said i dont need MySQL thats one of the man reasons i got this guest book but ill look ion to it cheers any way mate

Lan
03-02-2005, 02:38 PM
Change File MODE of "data.txt" to "666" (rw-rw-rw-)

That is an error telling you to change the rights on the file "data.txt" to 666.

That means that on your host you will need to use the "chmod" command to set the appropriate rights on that particular file. Most common ftp clients have a command that can do this for you, or if you are using a command prompt based ftp you will need to type it manually. Someone correct me if the syntax is wrong but I believe it is "chmod data.txt 666".............Lan

RagingBull
03-03-2005, 02:05 PM
Cheers man thats summed it up for me, you explained it so i can understand it as most people would of gave me a load of technical crap so cheers again bruv:D