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

android - Pass an Serializable object in AIDL -

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

How to use Authorization & Authentication in Asp.net, C#? -