smartguyin Posted July 18, 2006 Share Posted July 18, 2006 I have tried mkdir() but when it gives me error "Warning: mkdir(www): Permission denied in "I have set my public_html folder to chmod 777 still then this error occurs.....How can i create folder without any errorsPlease Reply ! Link to comment https://forums.phpfreaks.com/topic/14947-how-to-create-folder-using-php/ Share on other sites More sharing options...
willfitch Posted July 18, 2006 Share Posted July 18, 2006 mkdir() does this. Make sure the owner of the file (i.e. smartguy) isn't trying to create a folder in a directory owned by say, root. Link to comment https://forums.phpfreaks.com/topic/14947-how-to-create-folder-using-php/#findComment-59981 Share on other sites More sharing options...
smartguyin Posted July 18, 2006 Author Share Posted July 18, 2006 I am using this code to create foldermkdir ($key, 777);In this variable $key is coming from the submit form and then using the info from variable $key create the folder by that name.Am i worng in this......... tell me Link to comment https://forums.phpfreaks.com/topic/14947-how-to-create-folder-using-php/#findComment-59995 Share on other sites More sharing options...
redarrow Posted July 18, 2006 Share Posted July 18, 2006 post you full code ok and the form ok Link to comment https://forums.phpfreaks.com/topic/14947-how-to-create-folder-using-php/#findComment-59997 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.