if i have a form and the user have to enter his information and i want after moving to the page that the form has been submitted for, a folder to be created i use the following code but it is not working the folder is not created
the code is
<body>
<?php
chdir("CPRPicture");
mkdir("backup",777);
?>
<form name="register" method="post" action="tt2.php" >
<input type = "text" value = "" name= "CPRNO">
<input type = submit value = "go" name = "submit">
</form>