tet3828 Posted February 3, 2008 Share Posted February 3, 2008 while being a good noob and reading the php manual I came accross the handy mkDir function. I need ALL rights for EVERYONE so my xp stations can write to the folders on the ubuntu LAMP server. now in the PHP manual it says you can set the mode like so: mkdir ('TRAINING SESSIONS/'.$state.'/'.$clinic.'', 0777) I am getting the expecte '); error on this line help the helpless. Link to comment https://forums.phpfreaks.com/topic/89239-solved-php-mkdir-context-issue/ Share on other sites More sharing options...
Stooney Posted February 3, 2008 Share Posted February 3, 2008 You have an extra single quote in there, try this mkdir ('TRAINING SESSIONS/'.$state.'/'.$clinic, 0777) edit: I just realized that this may not make a difference after all. Try it though. Link to comment https://forums.phpfreaks.com/topic/89239-solved-php-mkdir-context-issue/#findComment-456954 Share on other sites More sharing options...
Stooney Posted February 3, 2008 Share Posted February 3, 2008 How about mkdir("TRAINING SESSIONS/$state/$clinic", 0777); Link to comment https://forums.phpfreaks.com/topic/89239-solved-php-mkdir-context-issue/#findComment-456956 Share on other sites More sharing options...
tet3828 Posted February 3, 2008 Author Share Posted February 3, 2008 sorry refresh error. not a context issue. however I still can't figure out what mode to choose to allow all the xp machines to write to the new server folders??? ??? I thought ,0777 would do it but I guess not. and 7777 gives a premission error. Link to comment https://forums.phpfreaks.com/topic/89239-solved-php-mkdir-context-issue/#findComment-456966 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.