salve ho questo form per inviare dei dati :
codice:
<form name="Login" method="get" action="paginastudenti.asp">
<table align="center" border="3" bgcolor="#2A00AA" bordercolor="#A6641C"> <tr><td>
<table width="450" border="0" align="center" cellspacing="0" cellpadding="0" bgcolor="#CCCCCC">
<tr>
<td align="right" height="47" valign="bottom" width="94">COGNOME: </td>
<td height="47" valign="bottom" width="172">
<input type="text"name="cognome">
</td>
</tr>
<tr>
<td align="right" width="94"><br>NOME: </td>
<td width="172">
<br><input type="text" name="nome">
</td>
</tr>
<tr>
<td align="right" width="94"><br>PASSWORD: </td>
<td width="172">
<br><input type="password" name="password">
</td>
</tr>
<tr>
<td align="right" height="44" width="94"> </td>
<td height="44" width="172">
<input type="submit" name="Submit" value="Enter">
<input type="reset" name="Submit2" value="Reset">
</td>
</tr>
</table>
</td></tr>
</table>
</form>
dove ricevo in questo modo
codice:
'verifico il cognome
dim strcognome
strcognome = Trim( Lcase ( ucase(Request.QueryString("cognome"))))
'strcognome = Cstr( UCASE(request.Form("cognome")))
response.Write strcognome
if len(strcognome) = 0 then
%>
<!-- <META HTTP-EQUIV="REFRESH" CONTENT="0; URL=allerta.htm"> -->
<%
else
end if
'verifico la nome
dim strnome
strnome = Trim( Lcase( ucase(Request.QueryString("nome"))))
'strnome = Cstr( UCASE(request.Form("nome")))
response.Write strnome
if len(strnome) = 0 then
%>
<!-- <META HTTP-EQUIV="REFRESH" CONTENT="0; URL=allerta.htm"> -->
<%
else
end if
'verifico il password
dim strpsw
strpsw = Trim( Lcase( ucase(Request.QueryString("password"))))
'strpsw = Cstr( UCASE(request.Form("password")))
response.Write strpsw
if len(strpsw) = 0 then
%>
<!-- <META HTTP-EQUIV="REFRESH" CONTENT="0; URL=allerta.htm"> -->
<%
else
end if
il dati vengono passati, il problema è che mi servono maiuscoli e anche con Ucase rimangono in minuscolo, ho provato ad usare sia " request.form " che " Request.QueryString ", ma non cambia nulla.
Grazie per l'aiuto
Roberrto