Ver Mensaje Individual
  #2 (permalink)  
Antiguo 17/01/2012, 12:20
Avatar de phillipecw
phillipecw
 
Fecha de Ingreso: septiembre-2008
Ubicación: Lima, Peru, Peru
Mensajes: 142
Antigüedad: 16 años, 6 meses
Puntos: 19
Respuesta: Bloquear cadena ("http://","www")

Para ello tendrías que utilizar la función "Left". Algo así:

Código ASP:
Ver original
  1. <%
  2. If (Left(URL, 7) = "http://") OR (Left(URL,4) = "www.") Then
  3.    ...
  4. End If
  5. %>

Más información al respecto: http://www.w3schools.com/vbscript/func_left.asp
__________________

Phillipe Calmet Williams
Freelance Front-End Developer, Graphic & Web Designer www.phillipecw.com