http://192.168.1.18/prueba.asp
....
<%
nombre=Request.form("nombre")
edad=Request.form("edad")
RESPONSE.Write "hola "&nombre&" "&edad
%>
<form METHOD="post" ACTION="prueba.asp">
<input type="hidden" name="edad" value="55">
<p>Tu nombre <input type="text" name="nombre" size="30" value="jose"></p>
<INPUT type="submit" value="Enviar">
</form>
jueves, 24 de marzo de 2011
Formulario Asp tipo Get
http://192.168.1.18/prueba.asp?edad=55&nombre=jose33
.....
<%
nombre=Request.QueryString("nombre")
edad=Request.QueryString("edad")
RESPONSE.Write "hola "&nombre&" "&edad
%>
<form METHOD="get" ACTION="prueba.asp">
<input type="hidden" name="edad" value="55">
<p>Tu nombre <input type="text" name="nombre" size="30" value="jose"></p>
<INPUT type="submit" value="Enviar">
</form>
.....
<%
nombre=Request.QueryString("nombre")
edad=Request.QueryString("edad")
RESPONSE.Write "hola "&nombre&" "&edad
%>
<form METHOD="get" ACTION="prueba.asp">
<input type="hidden" name="edad" value="55">
<p>Tu nombre <input type="text" name="nombre" size="30" value="jose"></p>
<INPUT type="submit" value="Enviar">
</form>
miércoles, 23 de marzo de 2011
Asp conexion con Oracle
set conexion=server.CreateObject("ADODB.Connection")
conexion.open "bd","magasa","olgadel1"
conexion.open "bd","magasa","olgadel1"
......
sql="select ar_descrartic from articulo where ar_codigo='"&cod_art&"'"
set tabla3 = conexion3.execute(sql)
response.write "<title>"&tabla3.fields(0)&"</title>"
Internet Information Server - Asp y Php a la vez
http://www.desarrolloweb.com/articulos/instalando-php-con-iis.html
http://windows.php.net/download/ bajar installer, lo hace todo
Gracias
http://windows.php.net/download/ bajar installer, lo hace todo
Gracias
Suscribirse a:
Entradas (Atom)