jonathanfla Posted October 30, 2010 Share Posted October 30, 2010 Im in the process of setting up a social media site , Just switched from basic hosting to Dedicated Server Everything was working till i switched . I have a basic join forum and email activation , On the register.php file it tell script to make a directory mkdir into member/folder like this below, But it will make the folder for the id of that user but will not let them upload any images?. At first it wouldnt even make a folder but i found out it was a permissions issue with my server i fixed it , im guessing the upload is also a permission's issue ? But the script automaticly make the members/"$id" folder and i dont know how to set permission for auto create folder that if i even have to ? so confused. (BEGGGGINGG !! FORRRRR HELPPPPPPPPPPPPPPPPPPPP! Im running a dedicated server with godaddy, On centOs w/ Plesk Panel 9.3.0 ------------------------------------------------------------------------------------------- $id = mysql_insert_id(); // Create directory(folder) to hold each user's files(pics, MP3s, etc.) mkdir("members/$id", 0755); Link to comment https://forums.phpfreaks.com/topic/217256-permission-problem-i-think-mkdir/ Share on other sites More sharing options...
jonathanfla Posted October 30, 2010 Author Share Posted October 30, 2010 Link to comment https://forums.phpfreaks.com/topic/217256-permission-problem-i-think-mkdir/#findComment-1128223 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.