...

View Full Version : CHMODs



somiadiscon
08-10-2007, 10:06 AM
hi,

what is the meaning of this "CHMODs" could you pls explain to me. Everyone is talking about this when i am download programme from internet plsss explain to me thanx

somia

usik
08-10-2007, 10:11 AM
It is a unix term that sets the permissions on a file or directory



chmod 777


this sets a file so that everyone can read, write and execute the file

likon
08-10-2007, 08:26 PM
then ..how to chmod some file/ folder ?
from FTp access or something?
or htaccess?
what is htaccess. btw ?

PhaZZed
08-10-2007, 08:36 PM
CHMOD just allows you to setup permission be it to the public or the owner of the file/folder, etc.

Here is a good start: http://catcode.com/teachmod/

usik
08-11-2007, 01:21 AM
htaccess is to do with a web server, you can do a lot with htaccess but some of the most common uses is to user and password protect a directory or one of my favorites to add a file extension for apache to parse a certain way e.g. if i saved a php script with .png extension and in my .htaccess file add the following

AddType application/x-httpd-php .png

when apache goes to that directory to get say picture.png the htaccess file goes hey wait second it's not an image I am suppose to parse it as php

here is an example, my dynamic sig
http://www.etazac.net/sig/usik.png

i couldn't use it on forums with the extension .php so i had to fool the forums into thinking it was a static image by adding the extension .png

StupidRalph
08-11-2007, 04:46 PM
Hey...I recognize that ip address. :p I like that usik.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum