nonexist Posted December 29, 2007 Share Posted December 29, 2007 Hello. I am trying to use mkdir to make a directory for users based on their id. Here is the code to create the directory $id = mysql_insert_id(); mkdir("$id", 0700); Im not sure what is wrong. Please help. Thanks Quote Link to comment https://forums.phpfreaks.com/topic/83631-make-custom-directory-useing-mkdir/ Share on other sites More sharing options...
zq29 Posted December 31, 2007 Share Posted December 31, 2007 Are you getting any errors? If not, switch error reporting on in php.ini and see what it spits out. Quote Link to comment https://forums.phpfreaks.com/topic/83631-make-custom-directory-useing-mkdir/#findComment-426633 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.