php - Error when making directory -


i'm new php , i'm trying create directory (for user) , 500 error when script launched.

<html> <head>     <title>login</title> </head> <body>     <?php          chdir("users");         mkdir($_post["username"]);     ?> </body> 

your error log have more detailed error message. i'd guess it's permissions though.

make sure web service allowed create directories in "user" dir.


Comments

Popular posts from this blog

How to provide Authorization & Authentication using Asp.net, C#? -

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

android - Pass an Serializable object in AIDL -