Mostrando Codigo - Cold Fusion
< CFPARAM NAME = "attributes.file" DEFAULT = "/tu_carpeta/tus_visitas.txt" >
< cfset sPath = #GetDirectoryFromPath( CGI.PATH_TRANSLATED) #>
< cfif NOT FileExists ( "#sPath## attributes.file#" ) >
< cffile action = "WRITE" file= "#sPath## attributes.file#" output= "0" addnewline= "No" >
</ cfif >
< cffile action = "READ" file= "#sPath## attributes.file#" variable= "Mostrar" >
< cffile action = "DELETE" file= "#sPath## attributes.file#" >
< cfset Mostrar = #Mostrar# + 1 >
< cffile action = "WRITE" file= "#sPath## attributes.file#" output= "#Mostrar#" addnewline= "No" >
< cfoutput > #Mostrar# </ cfoutput >
ENLACE AL CODIGO
Si quieres enlazar desde tu pagina a este codigo
COMENTARIOS
Aun no existe ningun comentario para este Codigo.