Re: [PHP] Chmod a Directory

2007-10-09 Thread Daniel Brown
On 10/9/07, tedd <[EMAIL PROTECTED]> wrote: > At 12:00 PM +0200 10/9/07, Samuel Vogel wrote: > >You will have to loop through the directory recursively, running > >chmod() on every file there is! > > > >Regards, > >Samy > > Isn't there a sticky bit thing (i.e., 1777) you can use to change the > fil

Re: [PHP] Chmod a Directory

2007-10-09 Thread tedd
At 12:00 PM +0200 10/9/07, Samuel Vogel wrote: You will have to loop through the directory recursively, running chmod() on every file there is! Regards, Samy Isn't there a sticky bit thing (i.e., 1777) you can use to change the files inside a directory? I've never done it, but I remember r

Re: [PHP] Chmod a Directory

2007-10-09 Thread Daniel Brown
On 10/9/07, Stut <[EMAIL PROTECTED]> wrote: > abderrazzak nejeoui wrote: > > Please how can i chmod a directory to 0777 > > i tried chmod ($myDirectory, 0777); but nothing happens > > Check the return value. If it's false then it's failing for some > reason., most likely because the user it's runni

Re: [PHP] Chmod a Directory

2007-10-09 Thread Stut
abderrazzak nejeoui wrote: Please how can i chmod a directory to 0777 i tried chmod ($myDirectory, 0777); but nothing happens Check the return value. If it's false then it's failing for some reason., most likely because the user it's running as doesn't have permission to extend the permission

Re: [PHP] Chmod a Directory

2007-10-09 Thread Samuel Vogel
You will have to loop through the directory recursively, running chmod() on every file there is! Regards, Samy abderrazzak nejeoui schrieb: Please how can i chmod a directory to 0777 i tried chmod ($myDirectory, 0777); but nothing happens thanks in advence Nejeoui -- PHP General Mailing

[PHP] Chmod a Directory

2007-10-09 Thread abderrazzak nejeoui
Please how can i chmod a directory to 0777 i tried chmod ($myDirectory, 0777); but nothing happens thanks in advence Nejeoui