bilis_money Posted March 18, 2008 Share Posted March 18, 2008 I read the manual and i guess the chmod function can only change the permission value for a file. I don't know how to chmod the directory name and not a file. Can someone please tell me how to chmod a directory name? or what function to use? thanks in advance. Quote Link to comment Share on other sites More sharing options...
trq Posted March 18, 2008 Share Posted March 18, 2008 Just pass chmod the path to the directory you want to change. Quote Link to comment Share on other sites More sharing options...
2levelsabove Posted March 18, 2008 Share Posted March 18, 2008 chmod($path,0777); Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.