% function getThisPage() Dim sPath Dim lLastSlashPosition Dim sCurrPage Dim lPathLength sPath = Request.ServerVariables("PATH_INFO") lLastSlashPosition = instrrev(sPath, "/") lPathLength = len(Request.ServerVariables("PATH_INFO")) getThisPage = right(sPath, (lPathLength-lLastSlashPosition)) end function %> <% on error resume next Dim pathCounter Dim filecounter Dim myfile Dim visita pathCounter="/public/" filecounter = pathcounter & getthispage() & ".txt" myfile=server.mappath(filecounter) Set fs=CreateObject("Scripting.FileSystemObject") if fs.fileExists(myfile) then Set a=fs.OpenTextFile(myfile) visita=Cdbl(a.ReadLine) else Set a=fs.CreateTextFile(myfile, False) a.WriteLine("0") visita=0 end if a.close if Len(Session(filecounter))=0 then Session(filecounter)=visita visita=visita+1 Set a=fs.CreateTextFile(myfile, True) a.WriteLine(visita) a.Close end if set fs = nothing %>
Pagina visitata: <%=visita%> volte
Il Bollettino Ufficiale della Regione Campania del 2 ottobre 2008, contiene le Leggi Regionali numero 11/2008 e 12/2008.
ATTI DELLA REGIONE
LEGGI REGIONALILEGGE REGIONALE N. 11 del 30 settembre 2008
Abrogazione del comma 1 dell'articolo 23 della Legge
Regionale 30 gennaio 2008, n. 1, in materia di contributi dei privati per
l'esercizio e la manutenzione delle opere pubbliche di bonifica.
LEGGE REGIONALE N. 12 del 30 settembre 2008
Nuovo ordinamento e disciplina delle Comunità
Montane