the data typed into the textbox will be present in a POST or GET variable with the element name of the textbox.
So if you have a form along the following lines:
CODE
<form method='POST'>
<input type=text name='username'>
<textarea name='info'></textarea>
<input type=submit>
</form>
then after the submit you will find the values posted in there in the following variables:
$_POST['username']
and $_POST['info']
Those you can then use in the rest of your script.
be VERY carefull though when using filesystem functions (when creating directories)
it is very easy to do very very nasty things if you blindly pass the submited username into filesystem functions. You MUST strip out all unwanted characters and thouroughly check all the input before doing something as dangerous as passing it to filesystem functions!
For more information, use
http://www.php.net , that website has everything you might want to know about the PHP functions you need.
This post has been edited by Trogdor: 26 Oct, 2006 - 03:16 AM