[Nolug] PHP post page

From: Jeff <jeffreydavidlee_at_hotmail.com>
Date: Thu, 25 Mar 2004 22:59:07 -0600
Message-ID: <BAY13-DAV57FqIZ9YJJ0001429b@hotmail.com>

Can someone help me with php and forms? What I want to do is create a
directory for a submitted user's first and last name. Below is what I have:

file.html
<form action="adduserdir.php" method="post">
First Name:
<input type="text" name="first">
Last Name:
<input type="text" name="last">
<input type="Submit" value="Add Me">
</form>

<?php
   print $_POST['first'];
   print $_POST['last'];
   import_request_variables('p', 'p_');
   print $p_fisrt;

//$path = "/www/krewe/public_html/"; // source folder = not empty folders
//$dir=opendir($path);
//mkdir($path/$first$last, 0777);
//closedir($dir);
//echo "directory created";
//</body>
//</html>
?>
___________________
Nolug mailing list
nolug@nolug.org
Received on 03/25/04

This archive was generated by hypermail 2.2.0 : 12/19/08 EST