dachshund Posted August 16, 2009 Share Posted August 16, 2009 i have the following code to make a new directory folder when someone registers, but my server won't allow me access to this file. is there a way to change the access restrictions? this is the code for creating the directory i have. $make_directory = mkdir("images/upload/".$user_id , 0700); Quote Link to comment Share on other sites More sharing options...
dachshund Posted August 16, 2009 Author Share Posted August 16, 2009 and this is what i get when i try to go to something in that folders url. Error 403 - Forbidden You tried to access a document for which you don't have privileges. Quote Link to comment Share on other sites More sharing options...
Andy-H Posted August 16, 2009 Share Posted August 16, 2009 i have the following code to make a new directory folder when someone registers, but my server won't allow me access to this file. is there a way to change the access restrictions? this is the code for creating the directory i have. $make_directory = mkdir("images/upload/".$user_id , 0755); Quote Link to comment Share on other sites More sharing options...
dachshund Posted August 16, 2009 Author Share Posted August 16, 2009 perfect. thank you very much. Quote Link to comment Share on other sites More sharing options...
Andy-H Posted August 16, 2009 Share Posted August 16, 2009 no probs 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.