Welcome Guest, Not a member yet? Register   Sign In
log page views in database where?
#1

[eluser]matt2012[/eluser]
I want to create a simple stats component that logs the page and subpage
of every page view along with some other stuff basically I want to run a
simple database insert of $this->uri->segment(1) etc. where is the best place
to run the code in the construct function of every controller or is this a use of a hook?

or has someone written a plugin or library for this ?


Messages In This Thread
log page views in database where? - by El Forum - 08-29-2007, 05:08 AM
log page views in database where? - by El Forum - 08-29-2007, 06:21 AM



Theme © iAndrew 2016 - Forum software by © MyBB