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); Link to comment https://forums.phpfreaks.com/topic/170555-solved-allow-access-to-uploadedphp-created-imagesfolders/ 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. Link to comment https://forums.phpfreaks.com/topic/170555-solved-allow-access-to-uploadedphp-created-imagesfolders/#findComment-899640 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); Link to comment https://forums.phpfreaks.com/topic/170555-solved-allow-access-to-uploadedphp-created-imagesfolders/#findComment-899642 Share on other sites More sharing options...
dachshund Posted August 16, 2009 Author Share Posted August 16, 2009 perfect. thank you very much. Link to comment https://forums.phpfreaks.com/topic/170555-solved-allow-access-to-uploadedphp-created-imagesfolders/#findComment-899645 Share on other sites More sharing options...
Andy-H Posted August 16, 2009 Share Posted August 16, 2009 no probs Link to comment https://forums.phpfreaks.com/topic/170555-solved-allow-access-to-uploadedphp-created-imagesfolders/#findComment-899646 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.