[B]Parse error:[B]/home2/dtoporg/public_html/catolog/session/addmakdir.php[B]9
[code=php]<?php
$username = $_REQUEST[“username”];
$username = $_REQUEST[“password”];
mkdir(“/home2/dtoporg/public_html/catolog/users/$username”, 0700);
mkdir(“/home2/dtoporg/public_html/catolog/users/$username/thumbs”, 0700);
mkdir(“/home2/dtoporg/public_html/catolog/users/$username/large”, 0700);
$sql = INSERT INTO login (username, password, user_group) VALUES (‘$username’, md5(‘$password’), ‘0’);
echo(‘User created. Click <a href=”/catolog/checkLogin.php”>here</a> to return to admin section.’);
?>
There is a form, it takes the password, and the user name. It makes a directory for that user to store pictures in. After that, I would like it to made a new feild into my database, and this is the part that isn’t working.