Page 1 of 1

CHMOD in bravenet.com

Posted: Thu Dec 29, 2005 4:50 pm
by comma_dot
Script URL: http://kingstonsucks.com/mboard/mboard.php
Version of script: 1.21
Version of PHP:
Hosting company: bravenet.com
Have you searched THIS FORUM for your problem: yes
(if not please do before posting)
If so, what terms did you try:

Write your message below:
ok. everything is good. my probelm is im trying to CHMOD the counter.txt and thread.txt files, and chmod the directory msg. i have spent several days trying to figure this one out. ive read and re-read your read me file.
where do you use these function? where do you make a file world writale?
any help would be appreaciated, for i am teaching myself how to use php in the first place. I know that im supposed to CHMOD them to 666 (rw-rw-rw) but where do you do this???
cheers!!

Posted: Thu Dec 29, 2005 6:32 pm
by Klemen
There has been so much talk about CHMOD on these forums, please try reading and searching old posts!!

Heck, I've even wrote a tutorial on this:
http://www.phpjunkyard.com/ftp-chmod-tutorial.php

Posted: Thu Dec 29, 2005 6:32 pm
by FruitBeard
hi,

Try this

find this code inside mboard.php ( At the top )
require_once('settings.php');
printTopHTML();
and place this underneath it
chmod ("count.txt", 0666);
chmod ("threads.txt", 0666);
chmod ("msg", 0777);
that will stop you having to do it manually and it should work, but failing that, use your ftp program to do it, possibly right click the file inside your ftp and choose properties or chmod, depending on which ftp prog you are using.