CHMOD in bravenet.com

Is message board greying out your hair (at least what's left of it)? Let us help you here
Locked
comma_dot
Posts: 1
Joined: Thu Dec 29, 2005 4:42 pm

CHMOD in bravenet.com

Post 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!!
I Think, Therefor Im Dangerous
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post 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
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
FruitBeard
Posts: 38
Joined: Thu Jul 21, 2005 6:25 pm

Post 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.
FruitFully yours

http://www.fgps.com/keith/
Locked