Tema: enlaces pdf
Ver Mensaje Individual
  #2 (permalink)  
Antiguo 30/11/2009, 19:13
Avatar de mc_quake
mc_quake
 
Fecha de Ingreso: enero-2006
Ubicación: www.ecocargo.cl
Mensajes: 683
Antigüedad: 19 años, 3 meses
Puntos: 8
Respuesta: enlaces pdf

Código ASP:
Ver original
  1. Set fso = Server.CreateObject("Scripting.FileSystemObject")
  2.  
  3. Function Exist(foto)
  4.     If fso.FileExists(Server.MapPath(foto)) Then Exist = True Else Exist = False
  5. End Function

Código ASP:
Ver original
  1. IF Exist("carpetadonde_esta_el_documento/"&Recorset("archivo")) then ' si el archivo existe lo muestra
  2.  
  3.      <a href="carpetadonde_esta_el_documento/<%=Recorset("archivo")%>">ICONO</a>
  4.  
  5. End IF
__________________
Mc_Quake

Para ayudar en lo que se pueda:Zzz: