chmod problem

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
dewaphp
Forum Newbie
Posts: 10
Joined: Mon Nov 03, 2003 3:20 am

chmod problem

Post by dewaphp »

Hi All,

I need to chmod thousands of files on the remote server and this is very time consuming using ftp. Is there a more efficient way to chmod these files?.

TIA,
Andy
User avatar
m3mn0n
PHP Evangelist
Posts: 3548
Joined: Tue Aug 13, 2002 3:35 pm
Location: Calgary, Canada

Post by m3mn0n »

I'm sure if you combined [php_man]chmod[/php_man], [php_man]while[/php_man], and the [php_man]filesystem[/php_man] functions, you could have it done within seconds. ;)
dewaphp
Forum Newbie
Posts: 10
Joined: Mon Nov 03, 2003 3:20 am

Post by dewaphp »

thx sami:)
Post Reply