| | 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(trap17), it always set to 644 and i want to set it to 666. Anybody help me... PLEASE |
|
|
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).
If you have much spare time, you could make your own file manager utility
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... Using your browser...... 1. click on the file name (u must have logged into your Cpanel=>File Manager) 2. Click on the filename 3. 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 client 2. 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)=>submit 3. Goto the file and right click on it. 4. Click on set pemisions 5. click on all the spaces to fill all. 6. submit to chmod to 0777 7. U r done. I hope that helps you pal.
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 CODE chmod($filename, 0666);
Similar Topics
Keywords : permisstions auto
Hey all. Now i have a DB, an SQL DB, and i need to auto prune the data there to delete rows lder Hello...I'm designing a website in PHP where ppl can submit their links for "cool sites". I am testing my website on my local machine. It is still in development stage and I am using Looking for set, permisstions, auto, set
|
|
![]() About Set Permisstions.... - auto set it, how? |
| ADD REPLY / Got an Opinion! | Remove these ADs! | RAPID SEARCH! | Free Web Hosting | [X] |
|
Express your Opinions, Thoughts or Contribute more info. to help others. Ask your Doubts & Queries to get answers, So that "Together We can help others!" |
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP. | 500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE |
|