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. Quote Link to comment 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. Quote Link to comment 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); Quote Link to comment 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. 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.