Scholieren.com forum

Scholieren.com forum (https://forum.scholieren.com/index.php)
-   Software & Hardware (https://forum.scholieren.com/forumdisplay.php?f=20)
-   -   [PHP] Shoutbox?? (https://forum.scholieren.com/showthread.php?t=644954)

Chilli Dude 29-10-2003 13:04

[PHP] Shoutbox??
 
nou kijk ik wil graag een shoutbox maar om hem goed te laten werken moet ik shoutbox.dat en ip.dat aanmaken met de permission 777

wtf bedoelen ze hier mee? en hoe maak ik een .dat file enzo...

Triloxigen 29-10-2003 13:12

ip.dat is gewoon een textfile dat je zo noemt, niks bijzonders dus.

permission 777 wil zeggen dat je de chmod op 777 moet zetten
dit kun je met ieder FTP client (behalve MSIE volgens mij) instellen
(Soms onder de naam Atributes).

Chilli Dude 29-10-2003 14:21

maar ik upload ze gewoon online...dan kan ik dat toch nergens instellen? :confused:

en een chmod is? :o :o

Ijsklontje. 29-10-2003 14:44

Citaat:

Chilli Dude schreef op 29-10-2003 @ 14:21:
maar ik upload ze gewoon online...dan kan ik dat toch nergens instellen? :confused:

en een chmod is? :o :o


Waar upload jij ze? welke provider?

Triloxigen 29-10-2003 14:45

Waarmee upload je alles?

deathz0rz 29-10-2003 16:20

ik zie het nut trouwens er niet van in om een gewone file execute rechten te geven...

Chilli Dude 29-10-2003 16:23

bij blueyellow...de provider van me internet account...
ik kan gewoon online alles uploaden...

Triloxigen 29-10-2003 16:26

Citaat:

Chilli Dude schreef op 29-10-2003 @ 16:23:
bij blueyellow...de provider van me internet account...
ik kan gewoon online alles uploaden...

Heeft je ISP dan wel PHP ondersteuning?
En zorg eerst voor een FTP client, anders kun je het niet (LeechFTP, Bulletproof, WiseFTP, CuteFTP)

Chilli Dude 29-10-2003 21:46

jup wel php ondersteuning :)

winFTP ook goed?

Fade of Light 29-10-2003 21:53

Citaat:

Chilli Dude schreef op 29-10-2003 @ 21:46:
jup wel php ondersteuning :)

winFTP ook goed?

Dat is vast ook goed...kun je op het geuploade bestand rechtermuisknop doen? Als dat kan moet je ff kijken of er ergens chmod staat.
anders ff selecteren en kijken of er aan de zijkant iets staat van chmod en anders ff in de help file van winFTP zoeken.

Als je er niet direct een nummer kan invoeren dan moet je dit aanzetten:

Read
Write
Execute.

Die drie dingen aanzetten staat voor chmod = 777

als ik me neit vergis :)

deathz0rz 29-10-2003 21:56

Citaat:

Fade of Light schreef op 29-10-2003 @ 21:53:
Dat is vast ook goed...kun je op het geuploade bestand rechtermuisknop doen? Als dat kan moet je ff kijken of er ergens chmod staat.
anders ff selecteren en kijken of er aan de zijkant iets staat van chmod en anders ff in de help file van winFTP zoeken.

Als je er niet direct een nummer kan invoeren dan moet je dit aanzetten:

Read
Write
Execute.

Die drie dingen aanzetten staat voor chmod = 777

als ik me neit vergis :)

nou, niet precies...

http://home.visi.com/cgi-bin/unix_man?chmod+1

4000 (the setuid bit). Executable files with this bit set will
run with effective uid set to the uid of the file owner.
Directories with this bit set will force all files and sub-
directories created in them to be owned by the directory
owner and not by the uid of the creating process, if the
underlying file system supports this feature: see chmod(2)
and the suiddir option to mount(8).
2000 (the setgid bit). Executable files with this bit set will
run with effective gid set to the gid of the file owner.
1000 (the sticky bit). See chmod(2) and sticky(8).
0400 Allow read by owner.
0200 Allow write by owner.
0100 For files, allow execution by owner. For directories,
allow the owner to search in the directory.
0040 Allow read by group members.
0020 Allow write by group members.
0010 For files, allow execution by group members. For directo-
ries, allow group members to search in the directory.
0004 Allow read by others.
0002 Allow write by others.
0001 For files, allow execution by others. For directories
allow others to search in the directory.

Basiliscus 29-10-2003 21:58

Citaat:

********** schreef op 29-10-2003 @ 16:26:
Heeft je ISP dan wel PHP ondersteuning?
En zorg eerst voor een FTP client, anders kun je het niet (LeechFTP, Bulletproof, WiseFTP, CuteFTP)

FileZilla :cool:

Fade of Light 29-10-2003 22:09

Citaat:

deathz0rz schreef op 29-10-2003 @ 21:56:
nou, niet precies....
ik deed het zonder te zoeken, en zou toch zweren dat het zo was...

nu je het zei ben ikff gaan zoeken

en volgens mij zijn er meer met mij eens

Citaat:


When you CHMOD a file/directory to 777, you give read/write/execute permissions to everyone. (so don't chmod your /etc/passwd file to 777) Anyway, by CHMODing your upload directory to 777, you allow apache (whatever user it is set to run as i.e. "nobody" or "apache") to write to the directory.

Now, in order to CHMOD a file/directory, you must do one of two things:

1) If you have TelNet/SSH access to the server, login, and change to the directory under the directory you want to chmod:

if you want to chmod /home/me/uploads, then type:

cd /home/me

Then type:

chmod 777 uploads (where "uploads" is the name of your directory.

You can also just skip a step and type:

chmod 777 /home/me/uploads

2) If you don't have TelNet or SSH access, but have FTP access, many FTP clients allow you to right-click the file/directory you want to CHMOD and select "CHMOD" and set the number to 777.

Hope that helps

bron: http://forums.devshed.com/t51864/s.html?highlight=Chmod

deathz0rz 29-10-2003 22:18

Citaat:

Fade of Light schreef op 29-10-2003 @ 22:09:
ik deed het zonder te zoeken, en zou toch zweren dat het zo was...

nu je het zei ben ikff gaan zoeken

en volgens mij zijn er meer met mij eens



bron: http://forums.devshed.com/t51864/s.html?highlight=Chmod

jaa... maar daar staat toch iets anders?

"When you CHMOD a file/directory to 777, you give read/write/execute permissions to everyone."

jij zei

Citaat:

Read
Write
Execute.

Die drie dingen aanzetten staat voor chmod = 777
en die link die ik gaf was voor de verduidelijking...

Fade of Light 29-10-2003 22:33

ik was wat korter in uitleg, maar voor de rest staat er hetzelfde..."staat voor" was geen mooie woordkeuze, maargoed het idee is dan toch wel duidelijk lijkt me :)


Alle tijden zijn GMT +1. Het is nu 21:20.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.