Pagina 1 di 1

script asp

MessaggioInviato: ven nov 04, 2005 4:23 pm
da simo
in uno script di visualizzazione cartelle ho questo codice:
<%
For Each f1 in FC


If (RecordsCount >= (intPage * rpf)) And (RecordsCount < (intPage * rpf) + rpf) Then

If NOT InStr(f1, "tn-") > 0 Then ' Hide NON-Thumnails In View

ThumbPath = UploadPath&"\"&strFolderName&"\"&f1.Name

'##### Thumbnailer Call ######
If gfxSpex(ThumbPath, width, height, colors, strType) = true then
strwidth = "37"
strheight = FormatNumber(strwidth*(height/width),0)
If strheight > 33 Then strheight = "33" Else strheight = strheight
If nailer Then
strURL = URLPath&"/"&strfoldername&"/tn-"&f1.Name
Else
strURL = URLPath&"/"&strfoldername&"/"&f1.Name
End If
strimagesrc = "<img src="""&strURL&""" width="""&strwidth&""" height="""&strheight&""" border=""0"">"
End If
'##### End Thumbnailer Call ######

If Not i Mod rpr = 0 Then
%>

essendo che nn ne capisco un HHHHH come faccio a non far visualizzare le cartelle temporanee tipo _vti dovrei inserire tipo <>_ [sbigot]

MessaggioInviato: ven nov 04, 2005 5:23 pm
da Rumez
mmm..non ho capito la domanda..

MessaggioInviato: ven nov 04, 2005 10:15 pm
da Boo
Per quel codice è incomprensibile e non conosco ASP, quindi non so se funziona ma prova così

Codice: Seleziona tutto
if(strURL != "_vti")