How can this be modified so that a user supplied directory path is prepended by a trailing forward slash whether it's entered or not?
Also, I'd rather not have the slash appear in the value if possible.
if (isset($_POST['newuser_dir']) && !$clearForm) print "value=\"".$_POST['newuser_dir']."\" ";