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. Link to comment https://forums.phpfreaks.com/topic/96708-how-to-chmod-a-directory/ 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. Link to comment https://forums.phpfreaks.com/topic/96708-how-to-chmod-a-directory/#findComment-494886 Share on other sites More sharing options...
2levelsabove Posted March 18, 2008 Share Posted March 18, 2008 chmod($path,0777); Link to comment https://forums.phpfreaks.com/topic/96708-how-to-chmod-a-directory/#findComment-494906 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.