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%>
o habría que emplear este código
Código:
'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
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"
¿Se podría hacer esto? y lo más importante ¿Cómo?
Un saludo