Jump to content
xisto Community
nancmu

About Set Permisstions.... auto set it, how?

Recommended Posts

I have some problem about set permissions by automatic..

for example...

I created txt file with php... but when my file was added to server(Xisto), it always set to 644 and i want to set it to 666.

Anybody help me... PLEASE :rolleyes:

Share this post


Link to post
Share on other sites

If you are talking about php programming, you can change the file permissions using the chmod function.chmod($filename, 0666);or if you are simply uploading the TXT file to the server, you can use your FTP program to change the file permissions. In most FTP programs, just right click on the file and choose chmod. I think you can also do it through the file manager in cpanel. But, I'm not sure because I never use that (it sucks).

Share this post


Link to post
Share on other sites

If you have much spare time, you could make your own file manager utility :rolleyes:And, yes no9t9, you can change permissions from cpanel file manager... Just click on the filename, and on the upper righ side you'll find options. I think it's called Permissions, or something like that. I agree cpanel file manager is'nt a visual master piece, and has some weird functionality, but it gets the job done...

Share this post


Link to post
Share on other sites

Any file thats giving you some probs in ur website, simply chmod it to 0777. You can use your browser uploads or ftp to do that. Using your browser......1. click on the file name (u must have logged into your Cpanel=>File Manager)2. Click on the filename3. on the right hand side...click on change permissions (might not be completely the same).4. Then click in all the spaces to tick them. 5. click on the button below to change your file permission to 0777.Using FTP client...........1. Start you FTP client2. log into your site's ftp server by going to site manager=>type in your ftp ID and PW (same as CPanel ID and PW)=>submit3. Goto the file and right click on it.4. Click on set pemisions5. click on all the spaces to fill all.6. submit to chmod to 07777. U r done.I hope that helps you pal. :):rolleyes:

Share this post


Link to post
Share on other sites

Thank for all,

I think this is a basic for php programming but NOT ME. I started learning php from free source code (webboard, guestbook, chat,...) or webboard programming. I know about 6-7 month to learn my new language, it's so hard for clear everything. Some function that you think it is easy but i never know :) .

 

:rolleyes: this is my new knowledge... :)

chmod($filename, 0666);

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.