Código:
o habría que emplear este código<%dim URL URL="http://www.maestrosdelweb.com" if URL="ASP" then %>La página contiene la palabra ASP<%else%> no contiene esa palabra <%end if%>
Código:
La idea sería contener un página web dentro de una variable y una vez hecho esto hacer un if diciendole que si esa variable contiene la palabra ASP entonces que muestre el texto "La direccion contiene el texto ASP"'dim HTTP 'set HTTP=Server.CreateObject("Microsoft.XMLHTTP") 'HTTP.open "GET", "www.maestrosdelweb.com" , False 'HTTP.Send 'if HTTP.statusText="OK" then ' Response.write HTTP.ResponseText ' else ' Response.write "Error obteniendo Página " & HTTP.statustext 'end if
¿Se podría hacer esto? y lo más importante ¿Cómo?
Un saludo