Jump to content

MKDIR() little help needed


lvertel

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.