I don't understand very well what do you want.
If you need some code (php) and html to transfer file (image or something else) you can use this code:
<form enctype="multipart/form-data" method="post" name="name" action="file2.php" >
<INPUT TYPE="file" NAME="foto" SIZE="30" VALUE="" class="box_pulsante">
</form>
$fpimm = fopen ($foto,"r");
$temp = fread($fpimm,filesize ($foto));
fclose($fpimm);
Need something else?