|
#1
| ||||
| ||||
|
This is a really quick and simple script that will enable you to CHMOD large amounts of files and folders directly via your browser. Recently i had to install a script, and without exaggeration it required in excess of 100 files/folders to be set to various CHMOD permission levels. Very tedious indeed switching back and forwards between CuteFTP and translated install documents trying to work out what files need 666, 777 when they weren't even in order and making sure none were missed. So.. I done a quick script, then used a quick macro and find/replace in Notepad++ to add all the file names in to the script in 2 minutes, run it in the browser and the lot was done. This is a quick demo of the output when run, it has basic error reporting and i purposely botched one file up to show a failed result: ![]() This is the code, feel free to modify it and as you can see it's pretty simple: PHP Code:
__________________ Knowledgebase | SEO | Free Scripts | Free Graphics | Free Wordpress Themes | Free Word Cloud Script | Domains For Sale | Optimize Your Forum |
![]() Ultimate Wordpress Commenter |
|
#2
| |||
| |||
|
I try to run the script at my pc(localhost) but how can we change the file chmod it? Because some file need chmod 777 to run. |
![]() Ultimate Wordpress Commenter |
![]() |
| Tools | |
| Display Modes | |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Anonymous Email Script | Admin | Free Scripts | 15 | 07-12-2009 05:47 PM |
| Flash action script | criphaze22 | Free Scripts | 4 | 07-01-2009 08:19 PM |
| Uploading Files via FTP | Admin | Knowledgebase | 4 | 12-08-2008 12:52 AM |
| Changing File & Folder Permissions CHMOD | Admin | Knowledgebase | 1 | 04-15-2007 09:18 AM |