I'm new to PHP and I'm trying to create a directory (for a user) and I get a 500 Error when the script is launched.
<html>
<head>
<title>Login</title>
</head>
<body>
<?php
chdir("users");
mkdir($_POST["username"]);
?>
</body>