This is great way to monitor user and bot activity in real time... I
have tried many different methods and this is hands down the best way to
go... my coding isn't always the cleanest but it works... you could
actually move the connstring to one include but for example purposes I'm
showing the connection string in all places its need.