<form name="form1" enctype="multipart/form-data" method="post" action="li_ftp_img.php">
<INPUT TYPE="file" name="file">
<INPUT TYPE="submit">
</FORM>
<?php
if($_REQUEST['file']) {
foreach($_REQUEST['file'] as $key=>$val) {
print $key."=>".$val."<br>";
}
echo
print $file=$_REQUEST["file"]["name"];
}
?>