Guest asp fraco Posted June 2, 2004 Report Share Posted June 2, 2004 galera como eu faço pa colocar a variavel do servidor(servervariable) em um input ?isso estaria certo ?--dim variavel<% variavel=request.Severvariables("remote_ADDR")response.write variavel%> --ta dando erro...porque ? Quote Link to comment Share on other sites More sharing options...
0 Bicicleta Posted June 2, 2004 Report Share Posted June 2, 2004 qual o erro que dá? Quote Link to comment Share on other sites More sharing options...
0 mariofdf Posted June 2, 2004 Report Share Posted June 2, 2004 tente assim. <% variavel=request.Severvariables("remote_ADDR") response.write (variavel) %> ou mais aconselhavel <% variavel=request.Severvariables("remote_ADDR") %> <%=variavel%> Quote Link to comment Share on other sites More sharing options...
0 Guest Guest Posted June 2, 2004 Report Share Posted June 2, 2004 esse erro--O objeto não dá suporte para a propriedade ou método: 'Severvariables'-- Quote Link to comment Share on other sites More sharing options...
0 dark0 Posted June 2, 2004 Report Share Posted June 2, 2004 puuuts ..olha sóseu codigo:<% variavel=request.Severvariables("remote_ADDR")response.write variavel%>codigo correto:<% variavel=request.Servervariables("remote_ADDR")response.write variavel%>o correto é SeRver e não severok?ate mais! Quote Link to comment Share on other sites More sharing options...
Question
Guest asp fraco
galera como eu faço pa colocar a variavel do servidor(servervariable) em um input ?
isso estaria certo ?
--
dim variavel
<%
variavel=request.Severvariables("remote_ADDR")
response.write variavel
%>
--
ta dando erro...porque ?
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.