lvertel Posted March 11, 2009 Share Posted March 11, 2009 hello people i am new on this forum,hope it will be of help )) anyways, here is my problem : -i have a hosting on a apache server, swissmusicportal.ch, and i have created a php script to upload pictures,and i wanted it to create a special folder for special user!!! so here is what i used : <?php mkdir("username/imagegallery",0777,true); ?> basically,ive set the php to create in my httpdocs folder on my server(ive put 777 permissions on my folder on the server). the FOLDER IS created, but it is put to chmod 755 !! i've asked help to my server administrator, and he said i should create folder as USER , and not as APACHE user. how to solve this?? thank you in advance Link to comment https://forums.phpfreaks.com/topic/149006-mkdir-little-help-needed/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.