vi mostro l intero codice


qui c'è il valore da copiare


<%Response.Expires=0
Response.Buffer = TRUE
Response.Clear
byteCount = Request.TotalBytes
RequestBin = Request.BinaryRead(byteCount)
Dim UploadRequest
Set UploadRequest = CreateObject("Scripting.Dictionary")
BuildUploadRequest RequestBin
contentType = UploadRequest.Item("blob").Item("ContentType")
filepathname = UploadRequest.Item("blob").Item("FileName")
filename = Right(filepathname,Len(filepathname)-InstrRev(filepathname,"\"))
value = UploadRequest.Item("blob").Item("Value")

'Create FileSytemObject Component
Set ScriptObject = Server.CreateObject("Scripting.FileSystemObject")

'Create and Write to a File
pathEnd = Len(Server.mappath(Request.ServerVariables("PATH_I NFO")))-14
Set MyFile = ScriptObject.CreateTextFile(Left(Server.mappath(Re quest.ServerVariables("PATH_INFO")),pathEnd) & filename)

For i = 1 to LenB(value)
MyFile.Write chr(AscB(MidB(value,i,1)))
Next
MyFile.Close%>

<head>
<title></title>
</head>


<script language="Javascript">
<!-- hide

function insertf1(f1){

window.opener.document.form.foto.value=foto;
}
// -->
</script>



<body bgcolor="#FFFFFF">
<div align="center">
<center>
<table>
<tr>
<td width="100%">

<p align="center">[img]../../frameup.jpg[/img]

</td>
</tr>
<td>
<p align="center"><font face="Verdana" size="2">
<input name="foto" type="text" value="<%=filename%>"></font>

[img]../immobilielq/copia.gif[/img]





[img]../immobilielq/chiudi.gif[/img]

</table>
</center>
</div>
<div align="center">
<center>
<table>

</table>
</center>
</div>
</body>



qui di seguito dove copiare






<script language="JavaScript">
<!-- hide from JavaScript-challenged browsers

function openWindow3(url) {
popupWin = window.open(url,'new_page1','width=400,height=170, scrollbars=yes')
}

function openWindow4(url) {
popupWin = window.open(url,'new_page2','width=400,height=170, scrollbars=yes')
}
function openWindow5(url) {
popupWin = window.open(url,'new_page3','width=400,height=170, scrollbars=yes')
}
function openWindow6(url) {
popupWin = window.open(url,'new_page4','width=400,height=170, scrollbars=yes')
}

// done hiding -->
</script>


<form action="add-process.asp" method="post" name="form">


<input name="foto" maxlength="40" size="20">


anzichè copiare il testo mi copia questo : [object]

perchè dove sto sbagliando?

grazie